Completed
Pull Request — master (#162)
by Raffael
09:04
created
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/app/Balloon.App.Api/v2/Files.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.Elasticsearch/Job.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Constructor.
73 73
      *
74
-     * @param Elasticsarch $es
74
+     * @param Elasticsearch $es
75 75
      * @param iterable     $config
76 76
      */
77 77
     public function __construct(Elasticsearch $es, Server $server, NodeAttributeDecorator $decorator, LoggerInterface $logger, Iterable $config = null)
@@ -354,6 +354,7 @@  discard block
 block discarded – undo
354 354
 
355 355
     /**
356 356
      * Get stored file.
357
+     * @param string $hash
357 358
      */
358 359
     protected function getFileByHash(?string $hash): ?array
359 360
     {
Please login to merge, or discard this patch.
src/app/Balloon.App.Office/Session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      * Get Session.
138 138
      *
139 139
      *
140
-     * @return Session
140
+     * @return Session|null
141 141
      */
142 142
     public static function getByAccessToken(Server $server, ObjectId $session_id, string $access_token): self
143 143
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/Collection.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * Get real id (reference).
259 259
      *
260
-     * @return ObjectId
260
+     * @return ObjectId|null
261 261
      */
262 262
     public function getRealId(): ?ObjectId
263 263
     {
@@ -639,6 +639,7 @@  discard block
 block discarded – undo
639 639
 
640 640
     /**
641 641
      * Create new file as a child from this collection.
642
+     * @param string $name
642 643
      */
643 644
     public function addFile($name, ?ObjectId $session = null, array $attributes = [], int $conflict = NodeInterface::CONFLICT_NOACTION, bool $clone = false): File
644 645
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Storage.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -147,6 +147,7 @@
 block discarded – undo
147 147
 
148 148
     /**
149 149
      * Store file.
150
+     * @param string $adapter
150 151
      */
151 152
     public function storeFile(File $file, ObjectId $session, ?string &$adapter = null)
152 153
     {
Please login to merge, or discard this patch.
src/lib/Filesystem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@
 block discarded – undo
287 287
      * Load nodes by id.
288 288
      *
289 289
      * @param string $class   Force check node type
290
-     * @param bool   $deleted
290
+     * @param integer   $deleted
291 291
      */
292 292
     public function findNodesById(array $id = [], ?string $class = null, int $deleted = NodeInterface::DELETED_INCLUDE): Generator
293 293
     {
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
@@ -247,6 +247,7 @@  discard block
 block discarded – undo
247 247
 
248 248
     /**
249 249
      * temporary session.
250
+     * @param resource|null $stream
250 251
      */
251 252
     public function temporarySession($stream, ObjectId $session = null): ObjectId
252 253
     {
@@ -1093,6 +1094,7 @@  discard block
 block discarded – undo
1093 1094
 
1094 1095
     /**
1095 1096
      * Duplicate name with a uniqid within name.
1097
+     * @param string $name
1096 1098
      */
1097 1099
     protected function getDuplicateName(?string $name = null, ?string $class = null): string
1098 1100
     {
Please login to merge, or discard this patch.