@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * @param array|string $key |
| 61 | 61 | * @param null|mixed $value |
| 62 | 62 | * @param bool $merge |
| 63 | - * @return mixed |
|
| 63 | + * @return MoveComponent |
|
| 64 | 64 | * @throws \Cake\Core\Exception\Exception When trying to set a key that is invalid. |
| 65 | 65 | */ |
| 66 | 66 | public function setConfig($key, $value = null, $merge = true) |
@@ -213,7 +213,7 @@ |
||
| 213 | 213 | * Create and merge actual process options. |
| 214 | 214 | * |
| 215 | 215 | * @param array $options |
| 216 | - * @param int|string $count |
|
| 216 | + * @param integer $count |
|
| 217 | 217 | * @return array |
| 218 | 218 | */ |
| 219 | 219 | protected function _getOptions(array $options, $count) |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | * Get current form view. |
| 166 | 166 | * |
| 167 | 167 | * @param null|string $view |
| 168 | - * @return null |
|
| 168 | + * @return string|null |
|
| 169 | 169 | */ |
| 170 | 170 | protected function _getFormView($view = null) |
| 171 | 171 | { |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | * Finds an partial filename, returns false on failure. |
| 181 | 181 | * |
| 182 | 182 | * @param string $name |
| 183 | - * @return bool|string |
|
| 183 | + * @return string|false |
|
| 184 | 184 | */ |
| 185 | 185 | protected function _getLayoutPartialPath($name) |
| 186 | 186 | { |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * Initialization hook method. |
| 36 | 36 | */ |
| 37 | - 'Controller.initialize' => function (Controller $controller) { |
|
| 37 | + 'Controller.initialize' => function(Controller $controller) { |
|
| 38 | 38 | $controller->loadComponent('Csrf'); |
| 39 | 39 | $controller->loadComponent('Cookie'); |
| 40 | 40 | $controller->loadComponent('Security', [ |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * So this method allows you to manipulate them as required after view instance |
| 89 | 89 | * is constructed. |
| 90 | 90 | */ |
| 91 | - 'View.initialize' => function (AppView $view) { |
|
| 91 | + 'View.initialize' => function(AppView $view) { |
|
| 92 | 92 | $view->loadHelper('Core.Nav'); |
| 93 | 93 | $view->loadHelper('Core.Less'); |
| 94 | 94 | $view->loadHelper('Core.Assets'); |