Passed
Push — develop ( aef793...4622da )
by Jens
02:42
created
cloudcontrol/library/storage/Repository.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     /**
53 53
      * Repository constructor.
54
-     * @param $storagePath
54
+     * @param string $storagePath
55 55
      * @throws \Exception
56 56
      */
57 57
     public function __construct($storagePath)
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * Creates the folder in which to create all storage related files
69 69
      *
70
-     * @param $storagePath
70
+     * @param string $storagePath
71 71
      * @return bool
72 72
      */
73 73
     public static function create($storagePath)
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 
149 149
     /**
150 150
      * Persist subset to disk
151
-     * @param $subset
151
+     * @param string $subset
152 152
      */
153 153
     protected function saveSubset($subset)
154 154
     {
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     }
175 175
 
176 176
     /**
177
-     * @param $contentSqlPath
177
+     * @param string $contentSqlPath
178 178
      */
179 179
     protected function initContentDb($contentSqlPath)
180 180
     {
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
     }
185 185
 
186 186
     /**
187
-     * @param $storageDefaultPath
187
+     * @param string $storageDefaultPath
188 188
      */
189 189
     protected function initConfigStorage($storageDefaultPath)
190 190
     {
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
 
231 231
     /**
232 232
      * Get all documents and folders in a certain path
233
-     * @param $folderPath
233
+     * @param string $folderPath
234 234
      * @return array
235 235
      * @throws \Exception
236 236
      */
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
 
311 311
     /**
312 312
      * Return the result of the query as Document
313
-     * @param $sql
313
+     * @param string $sql
314 314
      * @return mixed
315 315
      * @throws \Exception
316 316
      */
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
     /**
386 386
      * Delete the document from the database
387 387
      * If it's a folder, also delete it's contents
388
-     * @param $path
388
+     * @param string $path
389 389
      * @throws \Exception
390 390
      */
391 391
     public function deleteDocumentByPath($path)
Please login to merge, or discard this patch.