Completed
Pull Request — master (#130)
by
unknown
04:43
created
src/Drivers/ConnectionBase.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
         } elseif (is_float($value)) {
143 143
             // Convert to non-locale aware float to prevent possible commas
144 144
             return sprintf('%F', $value);
145
-        }  elseif (is_array($value)) {
145
+        } elseif (is_array($value)) {
146 146
             // Supports MVA attributes
147 147
             return '('.implode(',', $this->quoteArr($value)).')';
148 148
         }
Please login to merge, or discard this patch.
src/Drivers/Pdo/Connection.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,8 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         try{
40 40
             $stm->execute();
41
-        }
42
-        catch(\PDOException $exception){
41
+        } catch(\PDOException $exception){
43 42
             throw new DatabaseException($exception->getMessage() . ' [' . $query . ']');
44 43
         }
45 44
 
@@ -118,8 +117,7 @@  discard block
 block discarded – undo
118 117
             }
119 118
 
120 119
             return MultiResultSet::make($statement);
121
-        }
122
-        else
120
+        } else
123 121
         {
124 122
             foreach($queue as $sql)
125 123
             {
Please login to merge, or discard this patch.
src/SphinxQL.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -847,12 +847,12 @@
 block discarded – undo
847 847
         return $this;
848 848
     }
849 849
 
850
-     /**
851
-     *
852
-     * Get the where array
853
-     *
854
-     * @return array
855
-     */
850
+        /**
851
+         *
852
+         * Get the where array
853
+         *
854
+         * @return array
855
+         */
856 856
     public function getWhere()
857 857
     {
858 858
         return $this->where;
Please login to merge, or discard this patch.