Completed
Pull Request — master (#1454)
by
unknown
09:52
created
src/QueryDataTable.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,9 +88,9 @@
 block discarded – undo
88 88
     protected function prepareQuery()
89 89
     {
90 90
         if (!$this->prepared) {
91
-            if($this->totalRecords===null)
91
+            if ($this->totalRecords === null)
92 92
                 $this->totalRecords = $this->totalCount();
93
-            if ($this->totalRecords!==null) {
93
+            if ($this->totalRecords !== null) {
94 94
                 $this->filterRecords();
95 95
                 $this->ordering();
96 96
                 $this->paginate();
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,9 @@
 block discarded – undo
88 88
     protected function prepareQuery()
89 89
     {
90 90
         if (!$this->prepared) {
91
-            if($this->totalRecords===null)
92
-                $this->totalRecords = $this->totalCount();
91
+            if($this->totalRecords===null) {
92
+                            $this->totalRecords = $this->totalCount();
93
+            }
93 94
             if ($this->totalRecords!==null) {
94 95
                 $this->filterRecords();
95 96
                 $this->ordering();
Please login to merge, or discard this patch.