Completed
Branch 6.0 (4c331b)
by Arjay
02:34
created
src/Engines/QueryBuilderEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
         $myQuery = clone $this->query;
86 86
         // if its a normal query ( no union, having and distinct word )
87 87
         // replace the select with static text to improve performance
88
-        if (! Str::contains(Str::lower($myQuery->toSql()), ['union', 'having', 'distinct', 'order by', 'group by'])) {
88
+        if (!Str::contains(Str::lower($myQuery->toSql()), ['union', 'having', 'distinct', 'order by', 'group by'])) {
89 89
             $row_count = $this->connection->getQueryGrammar()->wrap('row_count');
90 90
             $myQuery->select($this->connection->raw("'1' as {$row_count}"));
91 91
         }
Please login to merge, or discard this patch.