@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | { |
15 | 15 | self::$classes[] = $ModelOfTable; |
16 | 16 | $currentISchemaTables = 0; |
17 | - if(array_key_exists("tables",self::$information_schema)){ |
|
17 | + if(array_key_exists("tables",self::$information_schema)) { |
|
18 | 18 | $currentISchemaTables = count(self::$information_schema["tables"]); |
19 | 19 | } else { |
20 | 20 | self::$information_schema["tables"] = []; |
@@ -54,14 +54,15 @@ discard block |
||
54 | 54 | return $records; |
55 | 55 | } |
56 | 56 | |
57 | - private function ProcessSQL($query,$results){ |
|
57 | + private function ProcessSQL($query,$results) |
|
58 | + { |
|
58 | 59 | |
59 | 60 | } |
60 | 61 | |
61 | 62 | private static function getSQL($sql, $bindings) |
62 | 63 | { |
63 | 64 | $needle = '?'; |
64 | - foreach ($bindings as $replace){ |
|
65 | + foreach ($bindings as $replace) { |
|
65 | 66 | $pos = strpos($sql, $needle); |
66 | 67 | if ($pos !== false) { |
67 | 68 | if (gettype($replace) === "string") { |