@@ -164,7 +164,7 @@ |
||
| 164 | 164 | Yii::$app->getErrorHandler()->logException($ex); |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | - return (bool) $result; |
|
| 167 | + return (bool)$result; |
|
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | /** |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | |
| 163 | 163 | foreach ($filesToCompress as $index => $file) { |
| 164 | 164 | try { |
| 165 | - $this->stdout('[' . (++$index). "]\t" . $file); |
|
| 165 | + $this->stdout('[' . (++$index) . "]\t" . $file); |
|
| 166 | 166 | $startTime = microtime(true); |
| 167 | 167 | $source = Source::fromFile($file); |
| 168 | 168 | $oldFile = Yii::getAlias($path . '/' . $oldCatalogName . '/' . StringHelper::basename($file)); |
@@ -150,6 +150,6 @@ |
||
| 150 | 150 | Yii::$app->getErrorHandler()->logException($ex); |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | - return (bool) $result; |
|
| 153 | + return (bool)$result; |
|
| 154 | 154 | } |
| 155 | 155 | } |