@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare (strict_types=1); |
|
| 1 | +<?php declare (strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * @license MIT |
| 4 | 4 | * @author Samuel Adeshina <[email protected]> |
@@ -52,10 +52,10 @@ discard block |
||
| 52 | 52 | const UNDEFINED = 0; |
| 53 | 53 | |
| 54 | 54 | public static function getGlobals($config = "configs") { |
| 55 | - if (is_file("globals.json")){ |
|
| 55 | + if (is_file("globals.json")) { |
|
| 56 | 56 | $globalLoc = json_decode(file_get_contents("globals.json"), true); |
| 57 | 57 | |
| 58 | - if (isset($globalLoc["globals"])){ |
|
| 58 | + if (isset($globalLoc["globals"])) { |
|
| 59 | 59 | $file = $globalLoc["globals"].".json"; |
| 60 | 60 | |
| 61 | 61 | return json_decode(file_get_contents($file), true); |