@@ -158,7 +158,7 @@ |
||
| 158 | 158 | /** |
| 159 | 159 | * Get form error by input field |
| 160 | 160 | * @param $field |
| 161 | - * @return bool|string |
|
| 161 | + * @return string|false |
|
| 162 | 162 | */ |
| 163 | 163 | public function getFormError($field) |
| 164 | 164 | { |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Faulancer\Exception\DispatchFailureException; |
| 13 | 13 | use Faulancer\Http\Request; |
| 14 | 14 | use Faulancer\Service\Config; |
| 15 | -use Faulancer\ServiceLocator\ServiceLocator; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * Class Kernel |
@@ -106,8 +106,8 @@ |
||
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | 108 | * Get a single variable |
| 109 | - * @param $key |
|
| 110 | - * @return boolean|string|array |
|
| 109 | + * @param string $key |
|
| 110 | + * @return string |
|
| 111 | 111 | */ |
| 112 | 112 | public function getVariable($key) |
| 113 | 113 | { |