@@ -19,7 +19,7 @@ |
||
19 | 19 | /** @return string */ |
20 | 20 | protected function set() |
21 | 21 | { |
22 | - return implode(', ', array_map(function ($column) { |
|
22 | + return implode(', ', array_map(function($column) { |
|
23 | 23 | return $column . ' = ?'; |
24 | 24 | }, array_keys($this->query->values))); |
25 | 25 | } |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Autoload App |
5 | 5 | */ |
6 | -spl_autoload_register(function ($className) { |
|
6 | +spl_autoload_register(function($className) { |
|
7 | 7 | $className = str_replace('App\\', 'app\\', $className); |
8 | 8 | $file = BASE_PATH . '/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php'; |
9 | 9 | if (file_exists($file)) { |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | /** |
15 | 15 | * Autoload Vendor |
16 | 16 | */ |
17 | -spl_autoload_register(function ($className) { |
|
17 | +spl_autoload_register(function($className) { |
|
18 | 18 | $file = BASE_PATH . '/vendor/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php'; |
19 | 19 | if (file_exists($file)) { |
20 | 20 | return require $file; |
@@ -124,7 +124,7 @@ |
||
124 | 124 | */ |
125 | 125 | public function destroy($id) |
126 | 126 | { |
127 | - $query = $this->query->build(Builder::DELETE);; |
|
127 | + $query = $this->query->build(Builder::DELETE); ; |
|
128 | 128 | $this->filterBy(static::PK, $id); |
129 | 129 | |
130 | 130 | $this->conn->query($query, $query->getValues()); |