@@ -50,14 +50,14 @@ discard block |
||
| 50 | 50 | public static function fetchManifest(string $manifestPath) |
| 51 | 51 | { |
| 52 | 52 | // Grab the manifest |
| 53 | - $pathOrUrl = (string)Craft::parseEnv($manifestPath); |
|
| 53 | + $pathOrUrl = (string) Craft::parseEnv($manifestPath); |
|
| 54 | 54 | $manifest = FileHelper::fetch($pathOrUrl, [JsonHelper::class, 'decodeIfJson']); |
| 55 | 55 | // If no manifest file is found, log it |
| 56 | 56 | if ($manifest === null) { |
| 57 | - Craft::error('Manifest not found at ' . $manifestPath, __METHOD__); |
|
| 57 | + Craft::error('Manifest not found at '.$manifestPath, __METHOD__); |
|
| 58 | 58 | } |
| 59 | 59 | // Ensure we're dealing with an array |
| 60 | - self::$manifest = (array)$manifest; |
|
| 60 | + self::$manifest = (array) $manifest; |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | $filename = implode('.', $filenameParts); |
| 265 | 265 | } |
| 266 | 266 | |
| 267 | - return (string)$filename; |
|
| 267 | + return (string) $filename; |
|
| 268 | 268 | } |
| 269 | 269 | |
| 270 | 270 | /** |