@@ -62,7 +62,7 @@ |
||
62 | 62 | * Redirect by request data. |
63 | 63 | * |
64 | 64 | * @param array $options |
65 | - * @return \Cake\Http\Response|null |
|
65 | + * @return \Cake\Network\Response|null |
|
66 | 66 | */ |
67 | 67 | public function redirect(array $options = []) |
68 | 68 | { |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * @param Table $table |
48 | 48 | * @param int $id |
49 | 49 | * @param int $step |
50 | - * @return \Cake\Http\Response|null |
|
50 | + * @return \Cake\Network\Response|null |
|
51 | 51 | */ |
52 | 52 | public function down(Table $table, $id, $step = 1) |
53 | 53 | { |
@@ -60,7 +60,7 @@ discard block |
||
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) |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * @param Table $table |
83 | 83 | * @param int $id |
84 | 84 | * @param int $step |
85 | - * @return \Cake\Http\Response|null |
|
85 | + * @return \Cake\Network\Response|null |
|
86 | 86 | * @SuppressWarnings(PHPMD.ShortMethodName) |
87 | 87 | */ |
88 | 88 | public function up(Table $table, $id, $step = 1) |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | * @param string $type |
98 | 98 | * @param int $id |
99 | 99 | * @param int $step |
100 | - * @return \Cake\Http\Response|null |
|
100 | + * @return \Cake\Network\Response|null |
|
101 | 101 | */ |
102 | 102 | protected function _move(Table $table, $id, $step = 1, $type = self::TYPE_UP) |
103 | 103 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | /** |
125 | 125 | * Process redirect. |
126 | 126 | * |
127 | - * @return \Cake\Http\Response|null |
|
127 | + * @return \Cake\Network\Response|null |
|
128 | 128 | */ |
129 | 129 | protected function _redirect() |
130 | 130 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * @param string $action |
99 | 99 | * @param array $ids |
100 | 100 | * @param array $options |
101 | - * @return \Cake\Http\Response|null |
|
101 | + * @return \Cake\Network\Response|null |
|
102 | 102 | */ |
103 | 103 | public function make(Table $table, $action, array $ids = [], array $options = []) |
104 | 104 | { |
@@ -213,7 +213,7 @@ discard block |
||
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) |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | * @param Data $messages |
243 | 243 | * @param array $redirect |
244 | 244 | * @param array $ids |
245 | - * @return \Cake\Http\Response|null |
|
245 | + * @return \Cake\Network\Response|null |
|
246 | 246 | */ |
247 | 247 | protected function _process($action, Data $messages, array $redirect, array $ids) |
248 | 248 | { |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use JBZoo\Utils\Arr; |
19 | 19 | use JBZoo\Utils\Str; |
20 | 20 | use Cake\Utility\Hash; |
21 | -use Cake\Core\Configure; |
|
22 | 21 | use Core\View\Helper\HtmlHelper; |
23 | 22 | |
24 | 23 | /** |
@@ -79,11 +79,11 @@ |
||
79 | 79 | |
80 | 80 | $classes = [ |
81 | 81 | $prefix, |
82 | - 'theme-' . Str::low($this->_View->theme), |
|
83 | - 'plugin-' . Str::low($this->_View->plugin), |
|
84 | - 'view-' . Str::low($this->_View->name), |
|
85 | - 'tmpl-' . Str::low($this->_View->template), |
|
86 | - 'layout-' . Str::low($this->_View->layout), |
|
82 | + 'theme-' . Str::low($this->_View->theme), |
|
83 | + 'plugin-' . Str::low($this->_View->plugin), |
|
84 | + 'view-' . Str::low($this->_View->name), |
|
85 | + 'tmpl-' . Str::low($this->_View->template), |
|
86 | + 'layout-' . Str::low($this->_View->layout), |
|
87 | 87 | ]; |
88 | 88 | |
89 | 89 | $pass = (array) $this->request->getParam('pass'); |