@@ -74,7 +74,7 @@ |
||
74 | 74 | * Returns user token. |
75 | 75 | * |
76 | 76 | * @param string $userId User id. |
77 | - * @return mixed|null |
|
77 | + * @return string |
|
78 | 78 | */ |
79 | 79 | protected function _userToken($userId = null) |
80 | 80 | { |
@@ -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 | { |
@@ -116,6 +116,9 @@ |
||
116 | 116 | $this->assertEquals($this->defaultPermissions, $this->simpleRbacAuthorize->config('permissions')); |
117 | 117 | } |
118 | 118 | |
119 | + /** |
|
120 | + * @param string $instance |
|
121 | + */ |
|
119 | 122 | protected function assertConstructorPermissions($instance, $config, $permissions) |
120 | 123 | { |
121 | 124 | $reflectedClass = new ReflectionClass($instance); |
@@ -85,6 +85,9 @@ |
||
85 | 85 | $this->Action->execute(); |
86 | 86 | } |
87 | 87 | |
88 | + /** |
|
89 | + * @param integer $id |
|
90 | + */ |
|
88 | 91 | protected function _initializeAction($id, $post = []) |
89 | 92 | { |
90 | 93 | $this->_initializeController([ |
@@ -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"; |