@@ -17,7 +17,6 @@ |
||
17 | 17 | use Balloon\Filesystem\Exception; |
18 | 18 | use Balloon\Filesystem\Storage\Adapter\AdapterInterface as StorageAdapterInterface; |
19 | 19 | use Balloon\Hook; |
20 | -use Balloon\Server\User; |
|
21 | 20 | use Generator; |
22 | 21 | use MimeType\MimeType; |
23 | 22 | use function MongoDB\BSON\fromJSON; |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | $this->storage = $this->_parent->getStorage()->deleteCollection($this); |
363 | 363 | |
364 | 364 | if (!$this->isReference() && !$this->isMounted() && !$this->isFiltered()) { |
365 | - $this->doRecursiveAction(function ($node) use ($recursion) { |
|
365 | + $this->doRecursiveAction(function($node) use ($recursion) { |
|
366 | 366 | $node->delete(false, $recursion, false); |
367 | 367 | }, NodeInterface::DELETED_EXCLUDE); |
368 | 368 | } |
@@ -917,7 +917,7 @@ discard block |
||
917 | 917 | protected function _forceDelete(?string $recursion = null, bool $recursion_first = true): bool |
918 | 918 | { |
919 | 919 | if (!$this->isReference() && !$this->isMounted() && !$this->isFiltered()) { |
920 | - $this->doRecursiveAction(function ($node) use ($recursion) { |
|
920 | + $this->doRecursiveAction(function($node) use ($recursion) { |
|
921 | 921 | $node->delete(true, $recursion, false); |
922 | 922 | }, NodeInterface::DELETED_INCLUDE); |
923 | 923 | } |
@@ -970,9 +970,9 @@ |
||
970 | 970 | //json_decode($stored, true), |
971 | 971 | } catch (\Exception $e) { |
972 | 972 | $this->logger->debug('failed zip node in multi node request ['.$node->getId().']', [ |
973 | - 'category' => get_class($this), |
|
974 | - 'exception' => $e, |
|
975 | - ]); |
|
973 | + 'category' => get_class($this), |
|
974 | + 'exception' => $e, |
|
975 | + ]); |
|
976 | 976 | } |
977 | 977 | } |
978 | 978 |