@@ -101,6 +101,9 @@ |
||
101 | 101 | $this->Action->execute(); |
102 | 102 | } |
103 | 103 | |
104 | + /** |
|
105 | + * @param integer $id |
|
106 | + */ |
|
104 | 107 | protected function _initializeAction($id, $post = []) |
105 | 108 | { |
106 | 109 | $this->_initializeController([ |
@@ -152,6 +152,9 @@ |
||
152 | 152 | $renderer->error($error); |
153 | 153 | } |
154 | 154 | |
155 | + /** |
|
156 | + * @param string $text |
|
157 | + */ |
|
155 | 158 | protected function _xmlMessage($text) |
156 | 159 | { |
157 | 160 | return '<?xml version="1.0" encoding="UTF-8"?>' . "\n" . $text . "\n"; |
@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * Execute action. |
68 | 68 | * |
69 | - * @return mixed |
|
69 | + * @return string|null |
|
70 | 70 | * @throws Exception |
71 | 71 | */ |
72 | 72 | public function execute() |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Execute action. |
54 | 54 | * |
55 | - * @return mixed |
|
55 | + * @return boolean |
|
56 | 56 | */ |
57 | 57 | public function action($tag_id) |
58 | 58 | { |
@@ -101,6 +101,9 @@ |
||
101 | 101 | $this->Action->execute(); |
102 | 102 | } |
103 | 103 | |
104 | + /** |
|
105 | + * @param integer $id |
|
106 | + */ |
|
104 | 107 | protected function _initializeAction($id, $post = []) |
105 | 108 | { |
106 | 109 | $this->_initializeController([ |
@@ -355,7 +355,7 @@ discard block |
||
355 | 355 | * Build router settings. |
356 | 356 | * This implementation build action map for resource routes based on Service actions. |
357 | 357 | * |
358 | - * @return array |
|
358 | + * @return callable |
|
359 | 359 | */ |
360 | 360 | public function routerDefaultOptions() |
361 | 361 | { |
@@ -591,7 +591,7 @@ discard block |
||
591 | 591 | * Fill up response and stop execution. |
592 | 592 | * |
593 | 593 | * @param Result $result A Result instance. |
594 | - * @return Response |
|
594 | + * @return \Cake\Network\Response |
|
595 | 595 | */ |
596 | 596 | public function respond($result = null) |
597 | 597 | { |