File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -474,8 +474,8 @@ public function makePathRelative($endPath, $startPath)
474474 return $ result ;
475475 };
476476
477- list ( $ endPath , $ endDriveLetter) = $ splitDriveLetter ($ endPath );
478- list ( $ startPath , $ startDriveLetter) = $ splitDriveLetter ($ startPath );
477+ [ $ endPath , $ endDriveLetter] = $ splitDriveLetter ($ endPath );
478+ [ $ startPath , $ startDriveLetter] = $ splitDriveLetter ($ startPath );
479479
480480 $ startPathArr = $ splitPath ($ startPath );
481481 $ endPathArr = $ splitPath ($ endPath );
@@ -617,7 +617,7 @@ public function isAbsolutePath($file)
617617 */
618618 public function tempnam ($ dir , $ prefix )
619619 {
620- list ( $ scheme , $ hierarchy) = $ this ->getSchemeAndHierarchy ($ dir );
620+ [ $ scheme , $ hierarchy] = $ this ->getSchemeAndHierarchy ($ dir );
621621
622622 // If no scheme or scheme is "file" or "gs" (Google Cloud) create temp file in local filesystem
623623 if (null === $ scheme || 'file ' === $ scheme || 'gs ' === $ scheme ) {
You can’t perform that action at this time.
0 commit comments