Test Failed
Push — master ( c39b75...68c69e )
by Joe
03:36
created
src/Mysqli/Db.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -254,14 +254,14 @@
 block discarded – undo
254 254
                 $fails++;
255 255
                 try {
256 256
                     $this->queryId = @mysqli_query($this->linkId, $queryString, MYSQLI_STORE_RESULT);
257
-                    if (in_array((int)@mysqli_errno($this->linkId), [1213, 2006, 3101, 1180])) {
257
+                    if (in_array((int) @mysqli_errno($this->linkId), [1213, 2006, 3101, 1180])) {
258 258
                         //error_log("got ".@mysqli_errno($this->linkId)." sql error fails {$fails} on query {$queryString} from {$line}:{$file}");
259 259
                         usleep(100000); // 0.1 second
260 260
                     } else {
261 261
                         $onlyRollback = false;
262 262
                     }
263 263
                 } catch (\mysqli_sql_exception $e) {
264
-                    if (in_array((int)$e->getCode(), [1213, 2006, 3101, 1180])) {
264
+                    if (in_array((int) $e->getCode(), [1213, 2006, 3101, 1180])) {
265 265
                         //error_log("got ".$e->getCode()." sql error fails {$fails}");
266 266
                         usleep(100000); // 0.1 second
267 267
                     } else {
Please login to merge, or discard this patch.