@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | |
246 | 246 | $directoryTimestamp = 0000000000; |
247 | 247 | |
248 | - array_walk($normalizeTreeMetadata, function (&$entry) use (&$directoryTimestamp) { |
|
248 | + array_walk($normalizeTreeMetadata, function(&$entry) use (&$directoryTimestamp) { |
|
249 | 249 | if ($this->hasKey($entry, self::KEY_TIMESTAMP) === false |
250 | 250 | || $entry[self::KEY_TIMESTAMP] === false |
251 | 251 | ) { |
@@ -327,8 +327,8 @@ discard block |
||
327 | 327 | { |
328 | 328 | $metadata = $tree; |
329 | 329 | |
330 | - if(empty($path) === false) { |
|
331 | - $metadata = array_filter($tree, function ($entry) use ($path, $recursive) { |
|
330 | + if (empty($path) === false) { |
|
331 | + $metadata = array_filter($tree, function($entry) use ($path, $recursive) { |
|
332 | 332 | $match = false; |
333 | 333 | |
334 | 334 | if (strpos($entry[self::KEY_PATH], $path) === 0) { |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | return $match; |
343 | 343 | }); |
344 | 344 | } elseif ($recursive === false) { |
345 | - $metadata = array_filter($tree, function ($entry) use ($path) { |
|
345 | + $metadata = array_filter($tree, function($entry) use ($path) { |
|
346 | 346 | return (strpos($entry[self::KEY_PATH], '/', strlen($path)) === false); |
347 | 347 | }); |
348 | 348 | } // ♪♫ and nothing else matters ♩♬ |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | { |
359 | 359 | $visibility = AdapterInterface::VISIBILITY_PUBLIC; |
360 | 360 | |
361 | - if (! substr($permissions, -4) & 0044) { |
|
361 | + if (!substr($permissions, -4) & 0044) { |
|
362 | 362 | $visibility = AdapterInterface::VISIBILITY_PRIVATE; |
363 | 363 | } |
364 | 364 |