Completed
Branch dev (bc6e47)
by Raffael
02:23
created
src/app/Balloon.App.Elasticsearch/Elasticsearch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@
 block discarded – undo
221 221
      * Search.
222 222
      *
223 223
      * @param array $query
224
-     * @param array $share
224
+     * @param array $shares
225 225
      *
226 226
      * @return array
227 227
      */
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Hook/NewShareAdded.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
      * @param NodeInterface $node
163 163
      * @param User          $user
164 164
      *
165
-     * @return string
165
+     * @return boolean
166 166
      */
167 167
     protected function checkNotify(NodeInterface $node, User $user): bool
168 168
     {
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Notifier.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -251,10 +251,10 @@  discard block
 block discarded – undo
251 251
      * Add notification.
252 252
      *
253 253
      * @param array  $receiver
254
-     * @param User   $user
255 254
      * @param string $subject
256 255
      * @param string $body
257 256
      * @param array  $context
257
+     * @param User $sender
258 258
      *
259 259
      * @return ObjectId
260 260
      */
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
     /**
296 296
      * Get notifications.
297 297
      *
298
-     * @param ObjectId $id
298
+     * @param User $id
299 299
      *
300 300
      * @return bool
301 301
      */
Please login to merge, or discard this patch.
src/lib/Api/v1/Node.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
      * @param array|string $id
283 283
      * @param array|string $p
284 284
      * @param int          $offset
285
-     * @param int          $legnth
285
+     * @param int          $length
286 286
      * @param string       $encode
287 287
      * @param bool         $download
288 288
      * @param string       $name
@@ -1420,7 +1420,7 @@  discard block
 block discarded – undo
1420 1420
      * @param string $class      Force set node type
1421 1421
      * @param bool   $multiple   Allow $id to be an array
1422 1422
      * @param bool   $allow_root Allow instance of root collection
1423
-     * @param bool   $deleted    How to handle deleted node
1423
+     * @param integer   $deleted    How to handle deleted node
1424 1424
      *
1425 1425
      * @return NodeInterface
1426 1426
      */
@@ -1454,7 +1454,7 @@  discard block
 block discarded – undo
1454 1454
      * @param string $id
1455 1455
      * @param string $path
1456 1456
      * @param string $class   Force set node type
1457
-     * @param bool   $deleted How to handle deleted node
1457
+     * @param integer   $deleted How to handle deleted node
1458 1458
      *
1459 1459
      * @return Generator
1460 1460
      */
Please login to merge, or discard this patch.
src/lib/Filesystem.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
      *
292 292
      * @param array  $id
293 293
      * @param string $class   Force check node type
294
-     * @param bool   $deleted
294
+     * @param integer   $deleted
295 295
      *
296 296
      * @return Generator
297 297
      */
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
      * @param string $class      Force set node type
412 412
      * @param bool   $multiple   Allow $id to be an array
413 413
      * @param bool   $allow_root Allow instance of root collection
414
-     * @param bool   $deleted    How to handle deleted node
414
+     * @param integer   $deleted    How to handle deleted node
415 415
      *
416 416
      * @return NodeInterface
417 417
      */
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
@@ -694,7 +694,7 @@  discard block
 block discarded – undo
694 694
      * @param string $path
695 695
      * @param bool   $new
696 696
      *
697
-     * @return bool
697
+     * @return string
698 698
      */
699 699
     protected function verifyFile(?string $path, bool $new = false): string
700 700
     {
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
     /**
828 828
      * Finalize put request.
829 829
      *
830
-     * @param resource|string $file
830
+     * @param string|null $file
831 831
      * @param bool            $new
832 832
      * @param array           $attributes
833 833
      *
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/NodeInterface.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,14 +108,13 @@
 block discarded – undo
108 108
      *
109 109
      * @param bool $reference
110 110
      *
111
-     * @return ObjectId
111
+     * @return ObjectId|null
112 112
      */
113 113
     public function getShareId(bool $reference = false): ?ObjectId;
114 114
 
115 115
     /**
116 116
      * Get share node.
117 117
      *
118
-     * @param bool $reference
119 118
      *
120 119
      * @return Collection
121 120
      */
Please login to merge, or discard this patch.
src/lib/Server/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -618,7 +618,7 @@
 block discarded – undo
618 618
     /**
619 619
      * Save.
620 620
      *
621
-     * @param array $attributes
621
+     * @param string[] $attributes
622 622
      *
623 623
      * @throws Exception\InvalidArgument if a given argument is not valid
624 624
      *
Please login to merge, or discard this patch.