@@ -245,7 +245,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |