@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | $key = $this->returnKeyType($keyType); |
90 | 90 | |
91 | 91 | $query->cols(['*']) |
92 | - ->where("`{$key}` = '{$id}'"); |
|
92 | + ->where("`{$key}` = '{$id}'"); |
|
93 | 93 | |
94 | 94 | return $this->fireStatementAndReturn($query, true); |
95 | 95 | } |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | $key = $this->returnKeyType($keyType); |
108 | 108 | |
109 | 109 | $query->cols(['*']) |
110 | - ->where("`{$key}` = '{$id}'"); |
|
110 | + ->where("`{$key}` = '{$id}'"); |
|
111 | 111 | |
112 | 112 | return $this->fireStatementAndReturn($query); |
113 | 113 | } |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | |
127 | 127 | $query->cols(['*']); |
128 | 128 | |
129 | - foreach($fields as $field => $value) { |
|
129 | + foreach ($fields as $field => $value) { |
|
130 | 130 | $query->where("`{$field}` = '{$value}'"); |
131 | 131 | } |
132 | 132 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | |
149 | 149 | $query->cols(["COUNT({$key}) as COUNT"]); |
150 | 150 | |
151 | - foreach($fields as $field => $value) { |
|
151 | + foreach ($fields as $field => $value) { |
|
152 | 152 | $query->where("`{$field}` = '{$value}'"); |
153 | 153 | } |
154 | 154 |