Completed
Pull Request — master (#141)
by Raffael
15:37 queued 10:36
created
src/lib/Filesystem/Node/AbstractNode.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -1044,6 +1044,7 @@
 block discarded – undo
1044 1044
 
1045 1045
     /**
1046 1046
      * Duplicate name with a uniqid within name.
1047
+     * @param string $name
1047 1048
      */
1048 1049
     protected function getDuplicateName(?string $name = null, ?string $class = null): string
1049 1050
     {
Please login to merge, or discard this patch.
src/lib/Filesystem/Node/AttributeDecorator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * Init.
60 60
      *
61
-     * @param Decorator $role_decorator
61
+     * @param RoleAttributeDecorator $role_decorator
62 62
      */
63 63
     public function __construct(Server $server, Acl $acl, RoleAttributeDecorator $role_decorator)
64 64
     {
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/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/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.