Passed
Push — master ( a9f547...49cca7 )
by Raffael
04:18
created
src/app/Balloon.App.Api/Controller.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/app/Balloon.App.Api/v1/AttributeDecorator/NodeDecorator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      * Add decorator.
87 87
      *
88 88
      *
89
-     * @return AttributeDecorator
89
+     * @return NodeDecorator
90 90
      */
91 91
     public function addDecorator(string $attribute, Closure $decorator): self
92 92
     {
Please login to merge, or discard this patch.
src/app/Balloon.App.Api/v1/AttributeDecorator/RoleDecorator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      * Add decorator.
74 74
      *
75 75
      *
76
-     * @return AttributeDecorator
76
+     * @return RoleDecorator
77 77
      */
78 78
     public function addDecorator(string $attribute, Closure $decorator): self
79 79
     {
Please login to merge, or discard this patch.
src/app/Balloon.App.Api/v1/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
      *
116 116
      * @param string $id
117 117
      * @param string $p
118
-     * @param string $version
118
+     * @param integer $version
119 119
      */
120 120
     public function postRestore(int $version, ?string $id = null, ?string $p = null): Response
121 121
     {
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
@@ -1251,7 +1251,7 @@  discard block
 block discarded – undo
1251 1251
      * @param string $class      Force set node type
1252 1252
      * @param bool   $multiple   Allow $id to be an array
1253 1253
      * @param bool   $allow_root Allow instance of root collection
1254
-     * @param bool   $deleted    How to handle deleted node
1254
+     * @param integer   $deleted    How to handle deleted node
1255 1255
      */
1256 1256
     protected function _getNode(
1257 1257
         ?string $id = null,
@@ -1283,7 +1283,7 @@  discard block
 block discarded – undo
1283 1283
      * @param string $id
1284 1284
      * @param string $path
1285 1285
      * @param string $class   Force set node type
1286
-     * @param bool   $deleted How to handle deleted node
1286
+     * @param integer   $deleted How to handle deleted node
1287 1287
      */
1288 1288
     protected function _getNodes(
1289 1289
         $id = null,
Please login to merge, or discard this patch.
src/app/Balloon.App.Api/v2/Files.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      *
112 112
      * @param string $id
113 113
      * @param string $p
114
-     * @param string $version
114
+     * @param integer $version
115 115
      */
116 116
     public function postRestore(int $version, ?string $id = null, ?string $p = null): Response
117 117
     {
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Hook/NewShareAdded.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Constructor.
48 48
      *
49
-     * @param Notification $notifier
49
+     * @param Notifier $notifier
50 50
      */
51 51
     public function __construct(Notifier $notifier, Server $server, LoggerInterface $logger)
52 52
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      * Check if users needs a notification and checks if mail adress is available.
107 107
      *
108 108
      *
109
-     * @return string
109
+     * @return boolean
110 110
      */
111 111
     protected function checkNotify(NodeInterface $node, User $user): bool
112 112
     {
Please login to merge, or discard this patch.
src/app/Balloon.App.Notification/Notifier.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -194,6 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
     /**
196 196
      * Add notification.
197
+     * @param User $sender
197 198
      */
198 199
     public function postNotification(User $receiver, ?User $sender, MessageInterface $message, array $context = []): ObjectId
199 200
     {
@@ -291,6 +292,7 @@  discard block
 block discarded – undo
291 292
 
292 293
     /**
293 294
      * Get subscription.
295
+     * @return NodeInterface
294 296
      */
295 297
     public function getSubscription(NodeInterface $node, User $user): ?array
296 298
     {
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
@@ -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.