Completed
Pull Request — master (#429)
by Raffael
03:46
created
src/lib/Server/Group.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -265,6 +265,8 @@
 block discarded – undo
265 265
     /**
266 266
      * Get resolved member.
267 267
      *
268
+     * @param integer $offset
269
+     * @param integer $limit
268 270
      * @return Generator
269 271
      */
270 272
     public function getResolvedMembers(?int $offset = null, ?int $limit = null): ?Generator
Please login to merge, or discard this patch.
src/lib/Server/User.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -722,6 +722,8 @@
 block discarded – undo
722 722
     /**
723 723
      * Get resolved groups.
724 724
      *
725
+     * @param integer $offset
726
+     * @param integer $limit
725 727
      * @return Generator
726 728
      */
727 729
     public function getResolvedGroups(?int $offset = null, ?int $limit = null): ?Generator
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Hook/NewShareAdded.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Balloon\App\Notification\Hook;
13 13
 
14 14
 use Balloon\App\Notification\Notifier;
15
-use Balloon\Async\Mail;
16 15
 use Balloon\Filesystem\Node\Collection;
17 16
 use Balloon\Filesystem\Node\NodeInterface;
18 17
 use Balloon\Hook\AbstractHook;
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.
src/app/Balloon.App.Api/v1/Node.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      * @param string $class      Force set node type
211 211
      * @param bool   $multiple   Allow $id to be an array
212 212
      * @param bool   $allow_root Allow instance of root collection
213
-     * @param bool   $deleted    How to handle deleted node
213
+     * @param integer   $deleted    How to handle deleted node
214 214
      */
215 215
     protected function _getNode(
216 216
         ?string $id = null,
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      * @param string $id
243 243
      * @param string $path
244 244
      * @param string $class   Force set node type
245
-     * @param bool   $deleted How to handle deleted node
245
+     * @param integer   $deleted How to handle deleted node
246 246
      */
247 247
     protected function _getNodes(
248 248
         $id = null,
Please login to merge, or discard this patch.
src/lib/Migration/Delta/Md5BlobIgnoreNull.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Balloon\Migration\Delta;
13 13
 
14 14
 use MongoDB\Database;
15
-use MongoDB\Driver\Exception\CommandException;
16 15
 use MongoDB\Driver\Exception\RuntimeException;
17 16
 
18 17
 class Md5BlobIgnoreNull implements DeltaInterface
Please login to merge, or discard this patch.
src/app/Balloon.App.Api/v1/File.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      *
118 118
      * @param string $id
119 119
      * @param string $p
120
-     * @param string $version
120
+     * @param integer $version
121 121
      */
122 122
     public function postRestore(int $version, ?string $id = null, ?string $p = null): Response
123 123
     {
@@ -406,6 +406,9 @@  discard block
 block discarded – undo
406 406
 
407 407
     /**
408 408
      * Get storage.
409
+     * @param string|null $id
410
+     * @param string|null $p
411
+     * @param string|null $collection
409 412
      */
410 413
     protected function getStorage($id, $p, $collection): StorageAdapterInterface
411 414
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/Collection.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -656,6 +656,7 @@
 block discarded – undo
656 656
 
657 657
     /**
658 658
      * Create new file as a child from this collection.
659
+     * @param string $name
659 660
      */
660 661
     public function addFile($name, ?ObjectId $session = null, array $attributes = [], int $conflict = NodeInterface::CONFLICT_NOACTION, bool $clone = false): File
661 662
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/app/Balloon.App.Api/v1/Controller.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -249,6 +249,8 @@  discard block
 block discarded – undo
249 249
      * Load nodes by id.
250 250
      *
251 251
      * @param null|mixed $class
252
+     * @param string $id
253
+     * @param string $path
252 254
      */
253 255
     public function getNodes(?array $id = null, ?array $path = null, $class = null, int $deleted = NodeInterface::DELETED_EXCLUDE): Generator
254 256
     {
@@ -277,9 +279,10 @@  discard block
 block discarded – undo
277 279
     /**
278 280
      * Load node.
279 281
      *
280
-     * @param null|mixed $id
281
-     * @param null|mixed $path
282
+     * @param string|null $id
283
+     * @param string|null $path
282 284
      * @param null|mixed $class
285
+     * @param integer $deleted
283 286
      */
284 287
     public function getNode($id = null, $path = null, $class = null, bool $multiple = false, bool $allow_root = false, ?int $deleted = null): NodeInterface
285 288
     {
@@ -359,7 +362,7 @@  discard block
 block discarded – undo
359 362
      * @param string $class      Force set node type
360 363
      * @param bool   $multiple   Allow $id to be an array
361 364
      * @param bool   $allow_root Allow instance of root collection
362
-     * @param bool   $deleted    How to handle deleted node
365
+     * @param integer   $deleted    How to handle deleted node
363 366
      */
364 367
     protected function _getNode(
365 368
         ?string $id = null,
@@ -391,7 +394,7 @@  discard block
 block discarded – undo
391 394
      * @param string $id
392 395
      * @param string $path
393 396
      * @param string $class   Force set node type
394
-     * @param bool   $deleted How to handle deleted node
397
+     * @param integer   $deleted How to handle deleted node
395 398
      */
396 399
     protected function _getNodes(
397 400
         $id = null,
Please login to merge, or discard this patch.