@@ -39,8 +39,8 @@ |
||
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | - * @param $name |
|
| 43 | - * @return mixed|null |
|
| 42 | + * @param string $name |
|
| 43 | + * @return string |
|
| 44 | 44 | */ |
| 45 | 45 | public function param($name) |
| 46 | 46 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | |
| 68 | 68 | $this->hash = md5($this->sourcePath); |
| 69 | 69 | |
| 70 | - $this->publishPath = '/' . (($dir = (new Injector)->param('assetsDirName')) ? $dir : 'assets') . '/' . $this->hash; |
|
| 70 | + $this->publishPath = '/'.(($dir = (new Injector)->param('assetsDirName')) ? $dir : 'assets').'/'.$this->hash; |
|
| 71 | 71 | |
| 72 | 72 | $web = (new KernelInjector)->get()->getWebDir(); |
| 73 | 73 | |