@@ -146,11 +146,11 @@ |
||
| 146 | 146 | public function read($path, $asArray = false) |
| 147 | 147 | { |
| 148 | 148 | if (file_exists($path)) { |
| 149 | - Yii::info('Read file: ' . $path, 'file'); |
|
| 149 | + Yii::info('Read file: '.$path, 'file'); |
|
| 150 | 150 | |
| 151 | 151 | return $asArray ? file($path) : file_get_contents($path); |
| 152 | 152 | } else { |
| 153 | - Yii::error('Couldn\'t read file: ' . $path, 'file'); |
|
| 153 | + Yii::error('Couldn\'t read file: '.$path, 'file'); |
|
| 154 | 154 | |
| 155 | 155 | return; |
| 156 | 156 | } |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | if (!is_file($path) || file_get_contents($path) !== $content) { |
| 33 | 33 | static::mkdir(dirname($path)); |
| 34 | 34 | file_put_contents($path, $content); |
| 35 | - Yii::warning('Written file: ' . $path, 'file'); |
|
| 35 | + Yii::warning('Written file: '.$path, 'file'); |
|
| 36 | 36 | |
| 37 | 37 | return true; |
| 38 | 38 | } |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | $path = rtrim(trim($path), '/'); |
| 53 | 53 | if (!file_exists($path)) { |
| 54 | 54 | mkdir($path, 0777, true); |
| 55 | - Yii::warning('Created dir: ' . $path . '/', 'file'); |
|
| 55 | + Yii::warning('Created dir: '.$path.'/', 'file'); |
|
| 56 | 56 | |
| 57 | 57 | return true; |
| 58 | 58 | } |