Completed
Push — develop ( 9b083d...637460 )
by Ben
10s
created
src/Api.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
             true //@NOTE: To retrieve all needed date the 'recursive' flag should always be 'true'
246 246
         );
247 247
 
248
-        $path = rtrim($path, '/') . '/';
248
+        $path = rtrim($path, '/').'/';
249 249
 
250 250
         $treeMetadata = $this->extractMetaDataFromTreeInfo($info[self::KEY_TREE], $path, $recursive);
251 251
 
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
 
254 254
         $directoryTimestamp = 0000000000;
255 255
 
256
-        array_walk($normalizeTreeMetadata, function (&$entry) use (&$directoryTimestamp) {
256
+        array_walk($normalizeTreeMetadata, function(&$entry) use (&$directoryTimestamp) {
257 257
             if ($this->hasKey($entry, self::KEY_TIMESTAMP) === false
258 258
                 || $entry[self::KEY_TIMESTAMP] === false
259 259
             ) {
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
         $matchPath = substr($path, 0, -1);
337 337
         $length = strlen($matchPath) - 1;
338 338
 
339
-        $metadata = array_filter($tree, function ($entry) use ($matchPath, $recursive, $length) {
339
+        $metadata = array_filter($tree, function($entry) use ($matchPath, $recursive, $length) {
340 340
             $match = false;
341 341
 
342 342
             $entryPath = $entry[self::KEY_PATH];
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
     {
364 364
         $visibility = AdapterInterface::VISIBILITY_PUBLIC;
365 365
 
366
-        if (! substr($permissions, -4) & 0044) {
366
+        if (!substr($permissions, -4) & 0044) {
367 367
             $visibility = AdapterInterface::VISIBILITY_PRIVATE;
368 368
         }
369 369
 
Please login to merge, or discard this patch.