Passed
Push — Showing-Posts ( 9ab3ae...80fb19 )
by Stone
01:53
created
App/Models/PostModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $this->query($sql);
88 88
         if ($select != null) {
89 89
             foreach ($select as $col => $val) {
90
-                $this->bind(":" . $col, $val);
90
+                $this->bind(":".$col, $val);
91 91
             }
92 92
         }
93 93
         $this->bind(":limit", $limit);
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $this->query($sql);
122 122
         if ($select != null) {
123 123
             foreach ($select as $col => $val) {
124
-                $this->bind(":" . $col, $val);
124
+                $this->bind(":".$col, $val);
125 125
             }
126 126
         }
127 127
         $this->execute();
Please login to merge, or discard this patch.