@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | |
41 | 41 | public function getEnable($value, $coulmn = 'id') |
42 | 42 | { |
43 | - return $this->where($coulmn . ' = ? AND enable = ?' , [$value, 1])->fetch($this->table); |
|
43 | + return $this->where($coulmn . ' = ? AND enable = ?', [$value, 1])->fetch($this->table); |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | public function selectTable($coulmn) |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | |
51 | 51 | public function exists($value, $key = 'id') |
52 | 52 | { |
53 | - return (bool) $this->select($key)->where($key .'=?', $value)->fetch($this->table); |
|
53 | + return (bool) $this->select($key)->where($key . '=?', $value)->fetch($this->table); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | public function delete($id) |