Completed
Pull Request — master (#327)
by Raffael
05:20
created
src/app/Balloon.App.Api/v2/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      * @param string $class      Force set node type
74 74
      * @param bool   $multiple   Allow $id to be an array
75 75
      * @param bool   $allow_root Allow instance of root collection
76
-     * @param bool   $deleted    How to handle deleted node
76
+     * @param integer   $deleted    How to handle deleted node
77 77
      */
78 78
     protected function _getNode(
79 79
         ?string $id = null,
Please login to merge, or discard this patch.
src/app/Balloon.App.Api/v2/Groups.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         }
122 122
 
123 123
         $attributes = compact('namespace');
124
-        $attributes = array_filter($attributes, function ($attribute) {return !is_null($attribute); });
124
+        $attributes = array_filter($attributes, function($attribute) {return !is_null($attribute); });
125 125
 
126 126
         $id = $this->server->addGroup($name, $member, $attributes);
127 127
         $result = $this->decorator->decorate($this->server->getGroupById($id));
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     public function patch(string $id, ?string $name = null, ?array $member = null, ?string $namespace = null): Response
136 136
     {
137 137
         $attributes = compact('namespace', 'name', 'member');
138
-        $attributes = array_filter($attributes, function ($attribute) {return !is_null($attribute); });
138
+        $attributes = array_filter($attributes, function($attribute) {return !is_null($attribute); });
139 139
 
140 140
         $group = $this->_getGroup($id, true);
141 141
         $group->setAttributes($attributes);
Please login to merge, or discard this patch.
src/lib/Filesystem/Acl.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -246,8 +246,8 @@  discard block
 block discarded – undo
246 246
             $share = $node->getFilesystem()->findRawNode($node->getReference());
247 247
         } catch (\Exception $e) {
248 248
             $this->logger->error('could not find share node ['.$node->getReference().'] for reference ['.$node->getId().'], dead reference?', [
249
-                 'category' => get_class($this),
250
-                 'exception' => $e,
249
+                    'category' => get_class($this),
250
+                    'exception' => $e,
251 251
             ]);
252 252
 
253 253
             return self::PRIVILEGE_DENY;
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
 
256 256
         if ($share['deleted'] instanceof UTCDateTime || true !== $share['shared']) {
257 257
             $this->logger->error('share node ['.$share['_id'].'] has been deleted, dead reference?', [
258
-                 'category' => get_class($this),
258
+                    'category' => get_class($this),
259 259
             ]);
260 260
 
261 261
             return self::PRIVILEGE_DENY;
Please login to merge, or discard this patch.