Completed
Pull Request — master (#23)
by Shestakov
15:36
created
Source/Ice/Action/Orm/Sync/DataScheme.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -265,6 +265,9 @@  discard block
 block discarded – undo
265 265
         }
266 266
     }
267 267
 
268
+    /**
269
+     * @param string $modelClass
270
+     */
268 271
     private function createModel($modelClass, $table, $force, $dataSourceKey)
269 272
     {
270 273
         Model::getCodeGenerator($modelClass)->generate($table, $force);
@@ -289,6 +292,9 @@  discard block
 block discarded – undo
289 292
         );
290 293
     }
291 294
 
295
+    /**
296
+     * @param string $modelFilePath
297
+     */
292 298
     private function deleteModel($modelFilePath, $tableName, $schemeTables, $dataSourceKey)
293 299
     {
294 300
         if (file_exists($modelFilePath)) {
Please login to merge, or discard this patch.
Source/Ice/Action/Widget/Form/File/Upload.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@
 block discarded – undo
74 74
         exit;
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $name
79
+     */
77 80
     private function fetchFiles($files, &$data, $name, $input)
78 81
     {
79 82
         if (isset($files['tmp_name'])) {
Please login to merge, or discard this patch.
Source/Ice/Core/Action/Context.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * Initialize added action (push to full action call stack)
57 57
      *
58 58
      * @param  string $actionClass
59
-     * @param  $hash
59
+     * @param  integer $hash
60 60
      * @return Action_Context
61 61
      * @throws Exception
62 62
      *
Please login to merge, or discard this patch.
Source/Ice/Core/Container.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * Get instance from container
42 42
      *
43 43
      * @param  string $key
44
-     * @param  null $ttl
44
+     * @param  null|integer $ttl
45 45
      * @param array $params
46 46
      * @return null|object|string
47 47
      * @throws Exception
Please login to merge, or discard this patch.
Source/Ice/Core/DataSource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@
 block discarded – undo
276 276
      * Execute query
277 277
      *
278 278
      * @param Query $query
279
-     * @param $ttl
279
+     * @param integer|null $ttl
280 280
      * @return QueryResult
281 281
      * @throws \Exception
282 282
      * @author dp <[email protected]>
Please login to merge, or discard this patch.
Source/Ice/Core/Model/Collection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     /**
39 39
      * Private constructor for model collection
40 40
      *
41
-     * @param $modelClass
41
+     * @param Model $modelClass
42 42
      * @param array $rows
43 43
      *
44 44
      * @author dp <[email protected]>
Please login to merge, or discard this patch.
Source/Ice/Core/Module.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * Check table belongs to module
79 79
      *
80 80
      * @param  $tableName
81
-     * @param  $dataSourceKey
81
+     * @param  string $dataSourceKey
82 82
      * @return bool
83 83
      * @author dp <[email protected]>
84 84
      *
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     /**
232 232
      * Load module configs
233 233
      *
234
-     * @param $vendor
234
+     * @param string $vendor
235 235
      * @param string $context
236 236
      * @param array $modules
237 237
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace Ice\Core;
11 11
 
12 12
 use Ice\Core;
13
-use Ice\Exception\ModuleNotFound;
14 13
 use Ice\Helper\Directory;
15 14
 use Ice\Helper\File;
16 15
 use Ice\Helper\String;
Please login to merge, or discard this patch.
Source/Ice/Core/QueryResult.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -546,6 +546,9 @@
 block discarded – undo
546 546
         return $string;
547 547
     }
548 548
 
549
+    /**
550
+     * @return integer
551
+     */
549 552
     public function getFoundRows()
550 553
     {
551 554
         return $this->result[QueryResult::FOUND_ROWS];
Please login to merge, or discard this patch.
Source/Ice/Core/Render.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param null $key
45
-     * @param null $ttl
45
+     * @param integer|null $ttl
46 46
      * @param array $params
47 47
      * @return Render
48 48
      *
Please login to merge, or discard this patch.