@@ -124,7 +124,7 @@ |
||
| 124 | 124 | * @param \Exception $exception |
| 125 | 125 | * @param $output |
| 126 | 126 | * |
| 127 | - * @param $class |
|
| 127 | + * @param string $class |
|
| 128 | 128 | * @throws \Exception |
| 129 | 129 | * @author dp <[email protected]> |
| 130 | 130 | * |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use Ice\Core\Logger as Core_Logger; |
| 14 | 14 | use Ice\Core\Module; |
| 15 | 15 | use Ice\Core\Render; |
| 16 | -use Ice\Core\Request as Core_Request; |
|
| 17 | 16 | use Ice\Core\Request; |
| 18 | 17 | use Ice\Render\Php as Render_Php; |
| 19 | 18 | use Ice\Core\Console as Core_Console; |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | /** |
| 91 | 91 | * Unserialize with known serializer |
| 92 | 92 | * |
| 93 | - * @param mixed $data |
|
| 93 | + * @param string $data |
|
| 94 | 94 | * @param string $serializer |
| 95 | 95 | * @throws Exception |
| 96 | 96 | * @return string |
@@ -33,9 +33,9 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * Trim with some chars |
| 35 | 35 | * |
| 36 | - * @param $string |
|
| 37 | - * @param null $chars |
|
| 38 | - * @param string $type |
|
| 36 | + * @param string $string |
|
| 37 | + * @param string[] $chars |
|
| 38 | + * @param string string |
|
| 39 | 39 | * @return string |
| 40 | 40 | * @throws Exception |
| 41 | 41 | * |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * Return random string |
| 126 | 126 | * |
| 127 | 127 | * @param int $length |
| 128 | - * @param array $blocks |
|
| 128 | + * @param integer $blocks |
|
| 129 | 129 | * @return string |
| 130 | 130 | * @author dp <[email protected]> |
| 131 | 131 | * |
@@ -1,6 +1,5 @@ |
||
| 1 | 1 | <?php namespace Ice\Helper; |
| 2 | 2 | |
| 3 | -use Ice\Core\Debuger; |
|
| 4 | 3 | use Ice\Core\Exception; |
| 5 | 4 | use Ice\Core\Logger as Core_Logger; |
| 6 | 5 | use Ice\Core\Validator as Core_Validator; |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | * Init local repository |
| 33 | 33 | * |
| 34 | 34 | * @param $vcs |
| 35 | - * @param $dir |
|
| 35 | + * @param string $dir |
|
| 36 | 36 | * |
| 37 | 37 | * @author dp <[email protected]> |
| 38 | 38 | * |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Ice\Render; |
| 4 | 4 | |
| 5 | -use Ice\Core\Debuger; |
|
| 6 | 5 | use Ice\Core\Environment; |
| 7 | 6 | use Ice\Core\Loader; |
| 8 | 7 | use Ice\Core\Logger; |
@@ -9,8 +9,6 @@ |
||
| 9 | 9 | |
| 10 | 10 | namespace Ice\Render; |
| 11 | 11 | |
| 12 | -use Ice\Core\Action; |
|
| 13 | -use Ice\Core\Debuger; |
|
| 14 | 12 | use Ice\Core\Environment; |
| 15 | 13 | use Ice\Core\Loader; |
| 16 | 14 | use Ice\Core\Logger; |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * @param array $data |
| 57 | 57 | * @param null $layout |
| 58 | 58 | * @param string $templateType |
| 59 | - * @return mixed |
|
| 59 | + * @return string |
|
| 60 | 60 | * @throws \Exception |
| 61 | 61 | * @author dp <[email protected]> |
| 62 | 62 | * |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | |
| 10 | 10 | namespace Ice\Render; |
| 11 | 11 | |
| 12 | -use Ice\Core\Action; |
|
| 13 | 12 | use Ice\Core\Loader; |
| 14 | 13 | use Ice\Core\Module; |
| 15 | 14 | use Ice\Core\Render; |
@@ -91,9 +91,9 @@ |
||
| 91 | 91 | * |
| 92 | 92 | * @param string $template |
| 93 | 93 | * @param array $data |
| 94 | - * @param null $layout |
|
| 94 | + * @param string|null $layout |
|
| 95 | 95 | * @param string $templateType |
| 96 | - * @return mixed |
|
| 96 | + * @return null|string |
|
| 97 | 97 | * @throws \Exception |
| 98 | 98 | * @author dp <[email protected]> |
| 99 | 99 | * |
@@ -9,13 +9,11 @@ |
||
| 9 | 9 | |
| 10 | 10 | namespace Ice\Render; |
| 11 | 11 | |
| 12 | -use Ice\Core\Action; |
|
| 13 | 12 | use Ice\Core\Config; |
| 14 | 13 | use Ice\Core\Environment; |
| 15 | 14 | use Ice\Core\Logger; |
| 16 | 15 | use Ice\Core\Module; |
| 17 | 16 | use Ice\Core\Render; |
| 18 | -use Ice\Core\ViiewOld; |
|
| 19 | 17 | use Ice\Helper\Emmet; |
| 20 | 18 | |
| 21 | 19 | /** |