Passed
Push — develop ( 632372...fe1a17 )
by nguereza
02:36
created
src/Query/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
         Connection $connection, 
76 76
         $tables, 
77 77
         QueryStatement $queryStatement = null
78
-    ){
78
+    ) {
79 79
         parent::__construct($queryStatement);
80 80
 
81 81
         $this->connection = $connection;
Please login to merge, or discard this patch.
src/Connection.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
                     $attr['port'] = $port;
194 194
                 }
195 195
                 
196
-                if ($driverName === 'mysql'){
196
+                if ($driverName === 'mysql') {
197 197
                     //Make MySQL using standard quoted identifier
198 198
                     $commands[] = 'SET SQL_MODE=ANSI_QUOTES';
199 199
                     
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
         $this->commands = $commands;
314 314
         $this->options = $options;
315 315
         
316
-        if($dbConfig['auto_connect'] === true){
316
+        if ($dbConfig['auto_connect'] === true) {
317 317
             $this->connect();
318 318
         }
319 319
         
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
      */
490 490
     public function getPDO(): PDO
491 491
     {
492
-        if($this->pdo === null){
492
+        if ($this->pdo === null) {
493 493
             $this->connect();
494 494
         }
495 495
         return $this->pdo;
@@ -615,7 +615,7 @@  discard block
 block discarded – undo
615 615
 
616 616
         return preg_replace_callback(
617 617
             '/\?/',
618
-            function () use ($driver, &$params) {
618
+            function() use ($driver, &$params) {
619 619
                 $param = array_shift($params);
620 620
                 $param = is_object($param) ? get_class($param) : $param;
621 621
                 if (is_int($param) || is_float($param)) {
Please login to merge, or discard this patch.