Completed
Push — master ( 2a4135...8c9a52 )
by Hung
03:02
created
src/Drivers/Pdo/ResultSet.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
     /**
198 198
      * Get the result object returned by PHP's MySQLi
199 199
      *
200
-     * @return \Pdostatement
200
+     * @return \mysqli_result
201 201
      *
202 202
      * @codeCoverageIgnore
203 203
      */
Please login to merge, or discard this patch.
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 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
         try{
51 51
             $stm->execute();
52
-        }
53
-        catch(\PDOException $exception){
52
+        } catch(\PDOException $exception){
54 53
             throw new DatabaseException($exception->getMessage() . ' [' . $query . ']');
55 54
         }
56 55
 
@@ -140,8 +139,7 @@  discard block
 block discarded – undo
140 139
             }
141 140
 
142 141
             return new MultiResultSet($statement);
143
-        }
144
-        else
142
+        } else
145 143
         {
146 144
             foreach($queue as $sql)
147 145
             {
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * @param string $query The query string
40 40
      *
41 41
      * @throws DatabaseException
42
-     * @return array|int The result array or number of rows affected
42
+     * @return ResultSet The result array or number of rows affected
43 43
      */
44 44
     public function query($query)
45 45
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
     /**
118 118
      * @param array $queue
119
-     * @return array
119
+     * @return MultiResultSet
120 120
      * @throws DatabaseException
121 121
      * @throws SphinxQLException
122 122
      */
Please login to merge, or discard this patch.
src/Drivers/Mysqli/ResultSet.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
     /**
223 223
      * Get the PHP MySQLi object
224 224
      *
225
-     * @return \mysqli
225
+     * @return \Foolz\SphinxQL\Drivers\ConnectionInterface
226 226
      * @throws ConnectionException
227 227
      */
228 228
     public function getMysqliConnection()
Please login to merge, or discard this patch.