Passed
Push — master ( 4ef0a9...b073ed )
by y
01:32
created
src/DB.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public static function slots(array $columns)
137 137
     {
138
-        return array_combine($columns, array_map(function (string $column) {
138
+        return array_combine($columns, array_map(function(string $column) {
139 139
             return ':' . str_replace('.', '__', $column);
140 140
         }, $columns));
141 141
     }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
             $this->exec("SET time_zone = 'UTC'");
180 180
         } elseif ($this->isSQLite()) {
181 181
             // polyfill sqlite functions
182
-            $this->sqliteCreateFunctions([ // deterministic functions
182
+            $this->sqliteCreateFunctions([// deterministic functions
183 183
                 // https://www.sqlite.org/lang_mathfunc.html
184 184
                 'ACOS' => 'acos',
185 185
                 'ASIN' => 'asin',
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
                 'SIGN' => fn($x) => $x <=> 0
206 206
             ]);
207 207
 
208
-            $this->sqliteCreateFunctions([ // non-deterministic
208
+            $this->sqliteCreateFunctions([// non-deterministic
209 209
                 'RAND' => fn() => mt_rand() / mt_getrandmax(),
210 210
             ], false);
211 211
         }
Please login to merge, or discard this patch.