Completed
Push — master ( 13b2e5...7e67c4 )
by Chris
03:12
created
src/FlysystemStreamWrapper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
             case STREAM_META_ACCESS:
448 448
                 $permissions = octdec(substr(decoct($value), -4));
449 449
                 $is_public = $permissions & $this->getConfiguration('public_mask');
450
-                $visibility =  $is_public ? AdapterInterface::VISIBILITY_PUBLIC : AdapterInterface::VISIBILITY_PRIVATE;
450
+                $visibility = $is_public ? AdapterInterface::VISIBILITY_PUBLIC : AdapterInterface::VISIBILITY_PRIVATE;
451 451
 
452 452
                 try {
453 453
                     return $this->getFilesystem()->setVisibility($this->getTarget(), $visibility);
@@ -925,17 +925,17 @@  discard block
 block discarded – undo
925 925
         // Since we're flattening out whole filesystems, at least create a
926 926
         // sub-directory for each scheme to attempt to limit the number of files
927 927
         // per directory.
928
-        $temp_dir = sys_get_temp_dir() . '/flysystem-stream-wrapper/' . $sub_dir;
928
+        $temp_dir = sys_get_temp_dir().'/flysystem-stream-wrapper/'.$sub_dir;
929 929
 
930 930
         // Race free directory creation. If @mkdir() fails, fopen() will fail
931 931
         // later, so there's no reason to test again.
932
-        ! is_dir($temp_dir) && @mkdir($temp_dir, 0777, true);
932
+        !is_dir($temp_dir) && @mkdir($temp_dir, 0777, true);
933 933
 
934 934
         // Normalize paths so that locks are consistent.
935 935
         $lock_key = md5(Util::normalizePath($this->getTarget()));
936 936
 
937 937
         // Relay the lock to a real filesystem lock.
938
-        return fopen($temp_dir . '/' . $lock_key, 'c');
938
+        return fopen($temp_dir.'/'.$lock_key, 'c');
939 939
     }
940 940
 
941 941
     /**
Please login to merge, or discard this patch.