@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | $path = CONFIG . 'rev-manifest.json'; |
| 42 | 42 | } |
| 43 | 43 | if (file_exists($path)) { |
| 44 | - static::$assets = (array)json_decode(file_get_contents($path), true); |
|
| 44 | + static::$assets = (array) json_decode(file_get_contents($path), true); |
|
| 45 | 45 | } |
| 46 | 46 | } |
| 47 | 47 | |
@@ -59,10 +59,10 @@ discard block |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | if (!empty(static::$assets[$name])) { |
| 62 | - return (string)static::$assets[$name]; |
|
| 62 | + return (string) static::$assets[$name]; |
|
| 63 | 63 | } |
| 64 | 64 | if (!empty($extension) && !empty(static::$assets[$name . $extension])) { |
| 65 | - return (string)static::$assets[$name . $extension]; |
|
| 65 | + return (string) static::$assets[$name . $extension]; |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | return $name; |