@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | */ |
132 | 132 | public static function slots(array $columns): array |
133 | 133 | { |
134 | - return array_combine($columns, array_map(function (string $column) { |
|
134 | + return array_combine($columns, array_map(function(string $column) { |
|
135 | 135 | return ':' . str_replace('.', '__', $column); |
136 | 136 | }, $columns)); |
137 | 137 | } |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | $this->exec("SET time_zone = 'UTC'"); |
176 | 176 | } elseif ($this->isSQLite()) { |
177 | 177 | // polyfill sqlite functions |
178 | - $this->sqliteCreateFunctions([ // deterministic functions |
|
178 | + $this->sqliteCreateFunctions([// deterministic functions |
|
179 | 179 | // https://www.sqlite.org/lang_mathfunc.html |
180 | 180 | 'ACOS' => 'acos', |
181 | 181 | 'ASIN' => 'asin', |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | 'SIGN' => fn($x) => $x <=> 0 |
202 | 202 | ]); |
203 | 203 | |
204 | - $this->sqliteCreateFunctions([ // non-deterministic |
|
204 | + $this->sqliteCreateFunctions([// non-deterministic |
|
205 | 205 | 'RAND' => fn() => mt_rand() / mt_getrandmax(), |
206 | 206 | ], false); |
207 | 207 | } |