Completed
Pull Request — master (#364)
by Raffael
05:44
created
src/app/Balloon.App.Notification/Notifier.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -93,6 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
     /**
95 95
      * Send notification.
96
+     * @param User $sender
96 97
      */
97 98
     public function notify(iterable $receiver, ?User $sender, MessageInterface $message): bool
98 99
     {
@@ -180,6 +181,7 @@  discard block
 block discarded – undo
180 181
 
181 182
     /**
182 183
      * Add notification.
184
+     * @param User $sender
183 185
      */
184 186
     public function postNotification(User $receiver, ?User $sender, MessageInterface $message): ObjectId
185 187
     {
@@ -206,6 +208,8 @@  discard block
 block discarded – undo
206 208
 
207 209
     /**
208 210
      * Get notifications.
211
+     * @param integer $offset
212
+     * @param integer $limit
209 213
      */
210 214
     public function getNotifications(User $user, array $query = [], ?int $offset = null, ?int $limit = null, ?int &$total = null): iterable
211 215
     {
@@ -288,6 +292,7 @@  discard block
 block discarded – undo
288 292
 
289 293
     /**
290 294
      * Get subscription.
295
+     * @return NodeInterface
291 296
      */
292 297
     public function getSubscription(NodeInterface $node, User $user): ?array
293 298
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Delta.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -98,6 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * Build a single dimension array with all nodes.
101
+     * @param integer[] $cursor
101 102
      */
102 103
     public function buildFeedFromCurrentState(?array $cursor = null, int $limit = 100, ?NodeInterface $node = null): array
103 104
     {
@@ -220,6 +221,7 @@  discard block
 block discarded – undo
220 221
 
221 222
     /**
222 223
      * Get delta feed with changes and cursor.
224
+     * @param NodeInterface $node
223 225
      */
224 226
     public function getDeltaFeed(?string $cursor = null, int $limit = 250, ?NodeInterface $node = null): array
225 227
     {
@@ -327,6 +329,7 @@  discard block
 block discarded – undo
327 329
 
328 330
     /**
329 331
      * Get event log.
332
+     * @param NodeInterface $node
330 333
      */
331 334
     public function getEventLog(array $query = [], int $limit = 100, int $skip = 0, ?NodeInterface $node = null, ?int &$total = null): iterable
332 335
     {
@@ -584,6 +587,7 @@  discard block
 block discarded – undo
584 587
 
585 588
     /**
586 589
      * Get children with custom filter.
590
+     * @param integer $limit
587 591
      */
588 592
     protected function findNodeAttributesWithCustomFilter(
589 593
         ?array $filter = null,
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/AbstractNode.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -1113,6 +1113,8 @@
 block discarded – undo
1113 1113
 
1114 1114
     /**
1115 1115
      * Duplicate name with a uniqid within name.
1116
+     * @param string $name
1117
+     * @param string $class
1116 1118
      */
1117 1119
     public function getDuplicateName(?string $name = null, ?string $class = null): string
1118 1120
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/File.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -429,6 +429,7 @@
 block discarded – undo
429 429
 
430 430
     /**
431 431
      * Change content (Sabe dav compatible method).
432
+     * @param resource $content
432 433
      */
433 434
     public function put($content): int
434 435
     {
Please login to merge, or discard this patch.
src/app/Balloon.App.Elasticsearch/Elasticsearch.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -62,6 +62,8 @@
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * Search.
65
+     * @param integer $skip
66
+     * @param integer $limit
65 67
      */
66 68
     public function search(array $query, int $deleted = NodeInterface::DELETED_INCLUDE, ?int $skip = null, ?int $limit = null, ?int &$total = null): Generator
67 69
     {
Please login to merge, or discard this patch.
src/lib/Filesystem.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -433,6 +433,8 @@  discard block
 block discarded – undo
433 433
      * Get deleted nodes.
434 434
      *
435 435
      * Note this query excludes deleted nodes which have a deleted parent
436
+     * @param integer $offset
437
+     * @param integer $limit
436 438
      */
437 439
     public function getTrash(array $query = [], ?int $offset = null, ?int $limit = null): Generator
438 440
     {
@@ -572,6 +574,8 @@  discard block
 block discarded – undo
572 574
      * Get custom filtered children.
573 575
      *
574 576
      * @deprecated
577
+     * @param integer $offset
578
+     * @param integer $limit
575 579
      */
576 580
     public function findNodesByFilterUser(int $deleted, array $filter, ?int $offset = null, ?int $limit = null): Generator
577 581
     {
Please login to merge, or discard this patch.