Skip to content

Commit 11454df

Browse files
Remove deprecated code paths
1 parent e13f27f commit 11454df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Filesystem.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,9 +585,8 @@ public function isAbsolutePath(string $file): bool
585585
*
586586
* @return string The new temporary filename (with path), or throw an exception on failure
587587
*/
588-
public function tempnam(string $dir, string $prefix/*, string $suffix = ''*/): string
588+
public function tempnam(string $dir, string $prefix, string $suffix = ''): string
589589
{
590-
$suffix = \func_num_args() > 2 ? func_get_arg(2) : '';
591590
[$scheme, $hierarchy] = $this->getSchemeAndHierarchy($dir);
592591

593592
// If no scheme or scheme is "file" or "gs" (Google Cloud) create temp file in local filesystem

0 commit comments

Comments
 (0)