Completed
Branch dev (d5d70c)
by Raffael
11:00
created
src/lib/Console/Useradd.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/lib/Console/Groupadd.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/lib/Console/ConsoleInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/lib/Console/Usermod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/lib/Console/Groupmod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/lib/Console/Upgrade.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
     public function start(): bool
86 86
     {
87 87
         return $this->migration->start(
88
-            (bool) $this->getopt->getOption('force'),
89
-            (bool) $this->getopt->getOption('ignore')
88
+            (bool)$this->getopt->getOption('force'),
89
+            (bool)$this->getopt->getOption('ignore')
90 90
         );
91 91
     }
92 92
 }
Please login to merge, or discard this patch.
src/lib/Filesystem.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
@@ -192,8 +192,8 @@  discard block
 block discarded – undo
192 192
      */
193 193
     public function findRawNode(ObjectId $id): array
194 194
     {
195
-        if (isset($this->cache[(string) $id])) {
196
-            return $this->cache[(string) $id]->getRawAttributes();
195
+        if (isset($this->cache[(string)$id])) {
196
+            return $this->cache[(string)$id]->getRawAttributes();
197 197
         }
198 198
 
199 199
         $node = $this->db->storage->findOne(['_id' => $id]);
@@ -218,8 +218,8 @@  discard block
 block discarded – undo
218 218
      */
219 219
     public function findNodeById($id, ?string $class = null, int $deleted = NodeInterface::DELETED_INCLUDE): NodeInterface
220 220
     {
221
-        if (isset($this->cache[(string) $id])) {
222
-            return $this->cache[(string) $id];
221
+        if (isset($this->cache[(string)$id])) {
222
+            return $this->cache[(string)$id];
223 223
         }
224 224
 
225 225
         if (!is_string($id) && !($id instanceof ObjectId)) {
@@ -597,7 +597,7 @@  discard block
 block discarded – undo
597 597
             throw new Exception\Conflict('node is not available anymore');
598 598
         }
599 599
 
600
-        $this->cache[(string) $node['_id']] = $instance;
600
+        $this->cache[(string)$node['_id']] = $instance;
601 601
 
602 602
         return $instance;
603 603
     }
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     /**
181 181
      * Find raw node.
182 182
      *
183
-     * @param ObjectId $id
183
+     * @param ObjectId|null $id
184 184
      *
185 185
      * @return array
186 186
      */
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
      *
302 302
      * @param array  $id
303 303
      * @param string $class   Force check node type
304
-     * @param bool   $deleted
304
+     * @param integer   $deleted
305 305
      *
306 306
      * @return Generator
307 307
      */
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
      * @param string $class      Force set node type
422 422
      * @param bool   $multiple   Allow $id to be an array
423 423
      * @param bool   $allow_root Allow instance of root collection
424
-     * @param bool   $deleted    How to handle deleted node
424
+     * @param integer   $deleted    How to handle deleted node
425 425
      *
426 426
      * @return NodeInterface
427 427
      */
Please login to merge, or discard this patch.
src/lib/Filesystem/Acl/Exception/Forbidden.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.
src/lib/Filesystem/Acl/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * balloon
Please login to merge, or discard this patch.