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)
474
474
return $ result ;
475
475
};
476
476
477
- list ( $ endPath , $ endDriveLetter) = $ splitDriveLetter ($ endPath );
478
- list ( $ startPath , $ startDriveLetter) = $ splitDriveLetter ($ startPath );
477
+ [ $ endPath , $ endDriveLetter] = $ splitDriveLetter ($ endPath );
478
+ [ $ startPath , $ startDriveLetter] = $ splitDriveLetter ($ startPath );
479
479
480
480
$ startPathArr = $ splitPath ($ startPath );
481
481
$ endPathArr = $ splitPath ($ endPath );
@@ -617,7 +617,7 @@ public function isAbsolutePath($file)
617
617
*/
618
618
public function tempnam ($ dir , $ prefix )
619
619
{
620
- list ( $ scheme , $ hierarchy) = $ this ->getSchemeAndHierarchy ($ dir );
620
+ [ $ scheme , $ hierarchy] = $ this ->getSchemeAndHierarchy ($ dir );
621
621
622
622
// If no scheme or scheme is "file" or "gs" (Google Cloud) create temp file in local filesystem
623
623
if (null === $ scheme || 'file ' === $ scheme || 'gs ' === $ scheme ) {
You can’t perform that action at this time.
0 commit comments