Test Setup Failed
Push — master ( 175a09...69b55e )
by Александр
35:37
created
src/components/storage/ClusterLocal.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,11 +57,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.