@@ -192,7 +192,7 @@ |
||
192 | 192 | * Save the given content to the cache and update the cache index. |
193 | 193 | * |
194 | 194 | * @param string $cacheKey |
195 | - * @param mixed $content |
|
195 | + * @param string $content |
|
196 | 196 | * |
197 | 197 | * @return bool |
198 | 198 | */ |
@@ -22,9 +22,9 @@ |
||
22 | 22 | protected $format; |
23 | 23 | |
24 | 24 | /** |
25 | - * @param string $content |
|
26 | 25 | * @param string $mimeType |
27 | 26 | * @param string $format |
27 | + * @param string $path |
|
28 | 28 | */ |
29 | 29 | public function __construct($path, $mimeType, $format = null) |
30 | 30 | { |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | * |
174 | 174 | * @param string $path |
175 | 175 | * |
176 | - * @return string |
|
176 | + * @return \CFResponse |
|
177 | 177 | */ |
178 | 178 | protected function getObjectUrl($path) |
179 | 179 | { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | * |
186 | 186 | * @param string $objectPath |
187 | 187 | * |
188 | - * @return bool |
|
188 | + * @return boolean|null |
|
189 | 189 | */ |
190 | 190 | protected function objectExists($objectPath) |
191 | 191 | { |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | } |
194 | 194 | |
195 | 195 | /** |
196 | - * @param mixed $message |
|
196 | + * @param string $message |
|
197 | 197 | * @param array $context |
198 | 198 | */ |
199 | 199 | protected function logError($message, array $context = array()) |
@@ -89,7 +89,7 @@ |
||
89 | 89 | /** |
90 | 90 | * @param string $path |
91 | 91 | * |
92 | - * @return mixed |
|
92 | + * @return string |
|
93 | 93 | */ |
94 | 94 | private function absolutePathRestrict($path) |
95 | 95 | { |