@@ -114,6 +114,9 @@ discard block |
||
114 | 114 | |
115 | 115 | } |
116 | 116 | |
117 | + /** |
|
118 | + * @param string $content_type |
|
119 | + */ |
|
117 | 120 | protected function send($content_type, $data) { |
118 | 121 | |
119 | 122 | $sent = $this->write($content_type, $data); |
@@ -199,6 +202,10 @@ discard block |
||
199 | 202 | |
200 | 203 | } |
201 | 204 | |
205 | + /** |
|
206 | + * @param string $data |
|
207 | + * @param boolean $key |
|
208 | + */ |
|
202 | 209 | private function can($data, $key) { |
203 | 210 | |
204 | 211 | if ( !empty($key) && is_string($key) ) { |
@@ -219,6 +226,9 @@ discard block |
||
219 | 226 | |
220 | 227 | } |
221 | 228 | |
229 | + /** |
|
230 | + * @param boolean $key |
|
231 | + */ |
|
222 | 232 | private function uncan($data, $key) { |
223 | 233 | |
224 | 234 | if ( !empty($key) && is_string($key) ) { |