@@ -57,11 +57,11 @@ discard block |
||
| 57 | 57 | $clusterFileSrc = $clusterFileName; |
| 58 | 58 | |
| 59 | 59 | if ($localPath) { |
| 60 | - $clusterFileSrc = $localPath.DIRECTORY_SEPARATOR.$clusterFileSrc; |
|
| 60 | + $clusterFileSrc = $localPath . DIRECTORY_SEPARATOR . $clusterFileSrc; |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | try { |
| 64 | - $dir = new Dir($dir.DIRECTORY_SEPARATOR.$localPath); |
|
| 64 | + $dir = new Dir($dir . DIRECTORY_SEPARATOR . $localPath); |
|
| 65 | 65 | $resultFile = $dir->newFile($clusterFileName); |
| 66 | 66 | $tmpFile->move($resultFile); |
| 67 | 67 | |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | if ($this->publicBaseUrlIsAbsolute) { |
| 120 | 120 | return $this->getPublicSrc($clusterFileUniqSrc); |
| 121 | 121 | } else { |
| 122 | - return \Yii::$app->urlManager->hostInfo.$this->getPublicSrc($clusterFileUniqSrc); |
|
| 122 | + return \Yii::$app->urlManager->hostInfo . $this->getPublicSrc($clusterFileUniqSrc); |
|
| 123 | 123 | } |
| 124 | 124 | } |
| 125 | 125 | /** |