We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e13f27f commit 11454dfCopy full SHA for 11454df
Filesystem.php
@@ -585,9 +585,8 @@ public function isAbsolutePath(string $file): bool
585
*
586
* @return string The new temporary filename (with path), or throw an exception on failure
587
*/
588
- public function tempnam(string $dir, string $prefix/*, string $suffix = ''*/): string
+ public function tempnam(string $dir, string $prefix, string $suffix = ''): string
589
{
590
- $suffix = \func_num_args() > 2 ? func_get_arg(2) : '';
591
[$scheme, $hierarchy] = $this->getSchemeAndHierarchy($dir);
592
593
// If no scheme or scheme is "file" or "gs" (Google Cloud) create temp file in local filesystem
0 commit comments