@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | true //@NOTE: To retrieve all needed date the 'recursive' flag should always be 'true' |
| 260 | 260 | ); |
| 261 | 261 | |
| 262 | - $path = rtrim($path, '/') . '/'; |
|
| 262 | + $path = rtrim($path, '/').'/'; |
|
| 263 | 263 | |
| 264 | 264 | $treeMetadata = $this->extractMetaDataFromTreeInfo($info[self::KEY_TREE], $path, $recursive); |
| 265 | 265 | |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | |
| 268 | 268 | $directoryTimestamp = 0000000000; |
| 269 | 269 | |
| 270 | - array_walk($normalizeTreeMetadata, function (&$entry) use (&$directoryTimestamp) { |
|
| 270 | + array_walk($normalizeTreeMetadata, function(&$entry) use (&$directoryTimestamp) { |
|
| 271 | 271 | if ($this->hasKey($entry, self::KEY_TIMESTAMP) === false |
| 272 | 272 | || $entry[self::KEY_TIMESTAMP] === false |
| 273 | 273 | ) { |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | $matchPath = substr($path, 0, -1); |
| 351 | 351 | $length = abs(strlen($matchPath) - 1); |
| 352 | 352 | |
| 353 | - $metadata = array_filter($tree, function ($entry) use ($matchPath, $recursive, $length) { |
|
| 353 | + $metadata = array_filter($tree, function($entry) use ($matchPath, $recursive, $length) { |
|
| 354 | 354 | $match = false; |
| 355 | 355 | |
| 356 | 356 | $entryPath = $entry[self::KEY_PATH]; |
@@ -377,7 +377,7 @@ discard block |
||
| 377 | 377 | { |
| 378 | 378 | $visibility = AdapterInterface::VISIBILITY_PUBLIC; |
| 379 | 379 | |
| 380 | - if (! substr($permissions, -4) & 0044) { |
|
| 380 | + if (!substr($permissions, -4) & 0044) { |
|
| 381 | 381 | $visibility = AdapterInterface::VISIBILITY_PRIVATE; |
| 382 | 382 | } |
| 383 | 383 | |