Passed
Push — master ( a9f547...49cca7 )
by Raffael
04:18
created
src/lib/Filesystem.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      * Load nodes by id.
282 282
      *
283 283
      * @param string $class   Force check node type
284
-     * @param bool   $deleted
284
+     * @param integer   $deleted
285 285
      */
286 286
     public function findNodesById(array $id = [], ?string $class = null, int $deleted = NodeInterface::DELETED_INCLUDE): Generator
287 287
     {
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
      * @param string $class      Force set node type
403 403
      * @param bool   $multiple   Allow $id to be an array
404 404
      * @param bool   $allow_root Allow instance of root collection
405
-     * @param bool   $deleted    How to handle deleted node
405
+     * @param integer   $deleted    How to handle deleted node
406 406
      */
407 407
     public function getNode($id = null, $path = null, $class = null, bool $multiple = false, bool $allow_root = false, int $deleted = NodeInterface::DELETED_EXCLUDE): NodeInterface
408 408
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Delta.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -344,6 +344,7 @@
 block discarded – undo
344 344
 
345 345
     /**
346 346
      * Get delta feed filter.
347
+     * @param NodeInterface|null $node
347 348
      */
348 349
     protected function buildDeltaFeedFilter(array $cursor, int $limit, ?NodeInterface $node): array
349 350
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/AbstractNode.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -1044,6 +1044,7 @@
 block discarded – undo
1044 1044
 
1045 1045
     /**
1046 1046
      * Duplicate name with a uniqid within name.
1047
+     * @param string $name
1047 1048
      */
1048 1049
     protected function getDuplicateName(?string $name = null, ?string $class = null): string
1049 1050
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/AttributeDecorator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * Init.
60 60
      *
61
-     * @param Decorator $role_decorator
61
+     * @param RoleAttributeDecorator $role_decorator
62 62
      */
63 63
     public function __construct(Server $server, Acl $acl, RoleAttributeDecorator $role_decorator)
64 64
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/Collection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
      * Get real id (reference).
257 257
      *
258
-     * @return ObjectId
258
+     * @return ObjectId|null
259 259
      */
260 260
     public function getRealId(): ?ObjectId
261 261
     {
@@ -752,7 +752,7 @@  discard block
 block discarded – undo
752 752
      * @param string $name
753 753
      * @param string $data
754 754
      *
755
-     * @return File
755
+     * @return string
756 756
      */
757 757
     public function createFile($name, $data = null): String
758 758
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/File.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
      *
629 629
      * @param string $path
630 630
      *
631
-     * @return bool
631
+     * @return string
632 632
      */
633 633
     protected function verifyFile(?string $path, bool $new = false): string
634 634
     {
@@ -762,7 +762,7 @@  discard block
 block discarded – undo
762 762
     /**
763 763
      * Finalize put request.
764 764
      *
765
-     * @param resource|string $file
765
+     * @param string|null $file
766 766
      *
767 767
      * @return File
768 768
      */
Please login to merge, or discard this patch.
src/lib/Server.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -195,6 +195,7 @@
 block discarded – undo
195 195
 
196 196
     /**
197 197
      * Filesystem factory.
198
+     * @param User $user
198 199
      */
199 200
     public function getFilesystem(?User $user = null): Filesystem
200 201
     {
Please login to merge, or discard this patch.