@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | protected $http_flags = 0; |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @param $root_dir |
|
| 45 | + * @param string $root_dir |
|
| 46 | 46 | */ |
| 47 | 47 | public function setRootDir($root_dir) |
| 48 | 48 | { |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | - * @param $css_file |
|
| 138 | + * @param string $css_file |
|
| 139 | 139 | * @return null|string |
| 140 | 140 | * @throws \InvalidArgumentException |
| 141 | 141 | */ |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | * Resolve the absolute path to a local asset |
| 345 | 345 | * |
| 346 | 346 | * @param string $path the path to the asset, relative to root_dir |
| 347 | - * @return string|boolean the absolute path, or false if not found |
|
| 347 | + * @return false|string the absolute path, or false if not found |
|
| 348 | 348 | */ |
| 349 | 349 | protected function resolveAssetPath($path) |
| 350 | 350 | { |
@@ -357,8 +357,8 @@ discard block |
||
| 357 | 357 | /** |
| 358 | 358 | * Resolve the URL to an http asset |
| 359 | 359 | * |
| 360 | - * @param string $root_url the root URL |
|
| 361 | 360 | * @param string |
| 361 | + * @param string $path |
|
| 362 | 362 | */ |
| 363 | 363 | protected function resolveAssetUrl($path) |
| 364 | 364 | { |