Passed
Push — master ( d5a1bb...855a75 )
by Anthony
02:58
created
core/database/Querybuilder.php 1 patch
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,8 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
 			if ($no_bind === true) {
110 110
 				$this->conditions_table[] = $champ.$cond.$champ_test." ".$closure;
111
-			}
112
-			else {
111
+			} else {
113 112
 				$this->conditions[] = $cond;
114 113
 				$this->addWhere($champ, $champ_test);
115 114
 			}
@@ -121,7 +120,9 @@  discard block
 block discarded – undo
121 120
 		 * @param string $order
122 121
 		 */
123 122
 		public function orderBy($order, $type = null) {
124
-			if ($type === null) $type = "ASC";
123
+			if ($type === null) {
124
+				$type = "ASC";
125
+			}
125 126
 
126 127
 			$this->order_by = " ORDER BY ".$order." ".$type." ";
127 128
 
Please login to merge, or discard this patch.