Completed
Pull Request — master (#2)
by Matteo
02:28
created
src/BridgeComponents/FetchResults.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -110,6 +110,9 @@
 block discarded – undo
110 110
         return (int) $countResult->fetch()[0];
111 111
     }
112 112
 
113
+    /**
114
+     * @param integer $style
115
+     */
113 116
     protected function convertFetchStyle($style)
114 117
     {
115 118
         switch ($style) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         $query = $result->getStatement()->queryString;
106 106
 
107 107
         $countResult = $result->getConnection()->query(
108
-            'SELECT COUNT(*) FROM ('. $query .') AS ' . uniqid('count_')
108
+            'SELECT COUNT(*) FROM ('.$query.') AS '.uniqid('count_')
109 109
         );
110 110
 
111 111
         return (int) $countResult->fetch()[0];
Please login to merge, or discard this patch.