Completed
Push — master ( 9f9c9d...3eb051 )
by Christopher
02:12
created
schemas/ADUserTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@
 block discarded – undo
288 288
      */
289 289
     protected $wWWHomePage;
290 290
     
291
-    public function rules(){
291
+    public function rules() {
292 292
         return [['cn'], 'required'];
293 293
     }
294 294
     
Please login to merge, or discard this patch.
FilterBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             }
128 128
         }
129 129
         if (!empty($parts)) {
130
-            return '('.$this->operator[$operator].'(' . implode(") (", $parts) . ')'.implode($other).' )';
130
+            return '('.$this->operator[$operator].'('.implode(") (", $parts).')'.implode($other).' )';
131 131
         } else {
132 132
             return '';
133 133
         }
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
         $parts = [];
295 295
         foreach ($values as $value) {
296 296
             $value = empty($escape) ? $value : strtr($value, $escape);
297
-            $parts[] = $not.'('.$column.'=*'.$value.'*)'.($not? ')':'');
297
+            $parts[] = $not.'('.$column.'=*'.$value.'*)'.($not ? ')' : '');
298 298
         }
299 299
 
300 300
         return '('.$this->operator[trim($andor)].implode($parts).')';
Please login to merge, or discard this patch.
Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         }
83 83
         
84 84
         $this->filter = (new FilterBuilder)->build($this->where);        
85
-        if (empty($this->filter)){
85
+        if (empty($this->filter)) {
86 86
             throw new InvalidValueException('You must define a filter for the search.');
87 87
         }
88 88
         
Please login to merge, or discard this patch.