Completed
Pull Request — master (#23)
by Shestakov
06:47
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/Security.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
 abstract class Security extends Widget_Form_Event
21 21
 {
22 22
     /**
23
-     * @param Security_Account|Model $account
23
+     * @param Security_Account $account
24 24
      * @param array $input
25
-     * @return Security_Account|Model
25
+     * @return Security_Account
26 26
      * @throws Exception
27 27
      */
28 28
     final protected function signIn(Security_Account $account, array $input)
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     }
232 232
 
233 233
     /**
234
-     * @param Security_Account|Model $account
234
+     * @param Model $account
235 235
      * @param $input
236 236
      * @return null
237 237
      * @throws Exception
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.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      * Return class by base class
49 49
      *
50 50
      * @param  string|null $className
51
-     * @return Core
51
+     * @return string
52 52
      *
53 53
      * @author dp <[email protected]>
54 54
      *
Please login to merge, or discard this patch.
Source/Ice/Core/Action.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -395,7 +395,7 @@
 block discarded – undo
395 395
     }
396 396
 
397 397
     /**
398
-     * @return null
398
+     * @return integer|null
399 399
      */
400 400
     public function getTtl()
401 401
     {
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/Config.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * Get config object by type or key
66 66
      *
67 67
      * @param  mixed $class
68
-     * @param  null $postfix
68
+     * @param  null|string $postfix
69 69
      * @param  bool $isRequired
70 70
      * @param  integer $ttl
71 71
      * @return Config
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     /**
189 189
      * Return default config for class
190 190
      *
191
-     * @param  $key
191
+     * @param  string $key
192 192
      * @return Config
193 193
      *
194 194
      * @author dp <[email protected]>
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     /**
205 205
      * Return default key
206 206
      *
207
-     * @return Core
207
+     * @return string
208 208
      *
209 209
      * @author dp <[email protected]>
210 210
      *
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
     /**
314 314
      * Save config
315 315
      *
316
-     * @param null $path
316
+     * @param string $path
317 317
      * @return Config
318 318
      * @author dp <[email protected]>
319 319
      *
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
     }
333 333
 
334 334
     /**
335
-     * @param $key
335
+     * @param string $key
336 336
      * @return Config
337 337
      */
338 338
     public function getConfig($key)
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.