@@ -328,7 +328,7 @@ discard block |
||
328 | 328 | * Returns the actual file path for the specified asset. |
329 | 329 | * @param AssetBundle $bundle the asset bundle which the asset file belongs to |
330 | 330 | * @param string $asset the asset path. This should be one of the assets listed in [[js]] or [[css]]. |
331 | - * @return string|bool the actual file path, or false if the asset is specified as an absolute URL |
|
331 | + * @return string|false the actual file path, or false if the asset is specified as an absolute URL |
|
332 | 332 | */ |
333 | 333 | public function getAssetPath($bundle, $asset) |
334 | 334 | { |
@@ -464,7 +464,7 @@ discard block |
||
464 | 464 | /** |
465 | 465 | * Publishes a file. |
466 | 466 | * @param string $src the asset file to be published |
467 | - * @return array the path and the URL that the asset is published as. |
|
467 | + * @return string[] the path and the URL that the asset is published as. |
|
468 | 468 | * @throws InvalidParamException if the asset to be published does not exist. |
469 | 469 | */ |
470 | 470 | protected function publishFile($src) |
@@ -509,7 +509,7 @@ discard block |
||
509 | 509 | * it is found in the target directory. This option is used only when publishing a directory. |
510 | 510 | * This overrides [[forceCopy]] if set. |
511 | 511 | * |
512 | - * @return array the path directory and the URL that the asset is published as. |
|
512 | + * @return string[] the path directory and the URL that the asset is published as. |
|
513 | 513 | * @throws InvalidParamException if the asset to be published does not exist. |
514 | 514 | */ |
515 | 515 | protected function publishDirectory($src, $options) |