Passed
Push — main ( f418cb...c16d56 )
by Thierry
03:52 queued 01:52
created
src/Db/Query.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function insert(string $table, array $set)
25 25
     {
26
-        $result = ($set ? parent::insert($table, $set) :
27
-            $this->execute('INSERT INTO ' . $this->driver->table($table) . ' () VALUES ()'));
26
+        $result = ($set ? parent::insert($table, $set) : $this->execute('INSERT INTO ' . $this->driver->table($table) . ' () VALUES ()'));
28 27
         return $result == true;
29 28
     }
30 29
 
Please login to merge, or discard this patch.
src/Driver.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,7 @@
 block discarded – undo
95 95
         $connection = null;
96 96
         if (extension_loaded("pdo_mysql")) {
97 97
             $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_MySQL');
98
-        }
99
-        else {
98
+        } else {
100 99
             throw new AuthException($this->trans->lang('No package installed to connect to a MySQL server.'));
101 100
         }
102 101
 
Please login to merge, or discard this patch.