@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * add new category |
37 | 37 | * |
38 | - * @return \Cake\Network\Response|void |
|
38 | + * @return \Cake\Http\Response|null |
|
39 | 39 | */ |
40 | 40 | public function add() |
41 | 41 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * edit category |
67 | 67 | * |
68 | 68 | * @param string $id category-ID |
69 | - * @return \Cake\Network\Response|void |
|
69 | + * @return \Cake\Http\Response|null |
|
70 | 70 | */ |
71 | 71 | public function edit($id) |
72 | 72 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | * |
107 | 107 | * @param string $id category-ID |
108 | 108 | * |
109 | - * @return \Cake\Network\Response|void |
|
109 | + * @return \Cake\Http\Response|null |
|
110 | 110 | */ |
111 | 111 | public function delete($id) |
112 | 112 | { |
@@ -89,7 +89,7 @@ |
||
89 | 89 | * |
90 | 90 | * @param null $id settings-ID |
91 | 91 | * |
92 | - * @return \Cake\Network\Response|void |
|
92 | + * @return \Cake\Http\Response|null |
|
93 | 93 | */ |
94 | 94 | public function edit($id = null) |
95 | 95 | { |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | /** |
46 | 46 | * add user |
47 | 47 | * |
48 | - * @return \Cake\Network\Response|void |
|
48 | + * @return \Cake\Http\Response|null |
|
49 | 49 | */ |
50 | 50 | public function add() |
51 | 51 | { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * delete user |
69 | 69 | * |
70 | 70 | * @param string $id user-ID |
71 | - * @return \Cake\Network\Response|void |
|
71 | + * @return \Cake\Http\Response|null |
|
72 | 72 | */ |
73 | 73 | public function delete($id) |
74 | 74 | { |
@@ -566,6 +566,7 @@ |
||
566 | 566 | |
567 | 567 | /** |
568 | 568 | * {@inheritDoc} |
569 | + * @param string $content |
|
569 | 570 | */ |
570 | 571 | protected function _getUrl($content, $attributes) |
571 | 572 | { |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | * Constructor |
209 | 209 | * |
210 | 210 | * @param Helper $Helper helper |
211 | - * @param array $settings settings |
|
211 | + * @param MarkupSettings $settings settings |
|
212 | 212 | */ |
213 | 213 | public function __construct(Helper $Helper, MarkupSettings $settings) |
214 | 214 | { |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | * - `multimedia` bool true|false parse or ignore multimedia content |
226 | 226 | * - `embed` bool true|false parse or ignore embed content |
227 | 227 | * |
228 | - * @return mixed|string |
|
228 | + * @return string |
|
229 | 229 | */ |
230 | 230 | public function parse($string, array $options = []) |
231 | 231 | { |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | * Add definitin set |
316 | 316 | * |
317 | 317 | * @param string $set set |
318 | - * @param array $options options |
|
318 | + * @param MarkupSettings $options options |
|
319 | 319 | * |
320 | 320 | * @return void |
321 | 321 | * @throws \Exception |
@@ -137,7 +137,7 @@ |
||
137 | 137 | * |
138 | 138 | * @param string $msg message |
139 | 139 | * |
140 | - * @return bool |
|
140 | + * @return boolean|null |
|
141 | 141 | */ |
142 | 142 | protected function _log($msg) |
143 | 143 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | /** |
50 | 50 | * Get RssWriter feed |
51 | 51 | * |
52 | - * @return Channel |
|
52 | + * @return Feed |
|
53 | 53 | */ |
54 | 54 | public function getFeed(): Feed |
55 | 55 | { |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @param string $file filename |
46 | - * @return mixed |
|
46 | + * @return false|string |
|
47 | 47 | */ |
48 | 48 | public function content($file) |
49 | 49 | { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | /** |
95 | 95 | * Creates name for sitemap-file |
96 | 96 | * |
97 | - * @param array $params additional name parameters |
|
97 | + * @param integer[] $params additional name parameters |
|
98 | 98 | * @return string |
99 | 99 | */ |
100 | 100 | protected function _filename($params = []) |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | /** |
168 | 168 | * time to Cake start |
169 | 169 | * |
170 | - * @return mixed |
|
170 | + * @return double |
|
171 | 171 | */ |
172 | 172 | protected static function _timeToCake() |
173 | 173 | { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | /** |
178 | 178 | * time from cake to stopwatch |
179 | 179 | * |
180 | - * @return int |
|
180 | + * @return double |
|
181 | 181 | */ |
182 | 182 | protected static function _timeFromCakeToStopwatch() |
183 | 183 | { |