Completed
Push — master ( 5cbdfb...f4c8d8 )
by Nikola
05:45
created
behaviors/PropertyQueryBehavior.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
         $this->joinTables();
18 18
 
19 19
 
20
-        if(!empty($name))
20
+        if (!empty($name))
21 21
             $this->getQuery()
22
-                ->andFilterWhere([ TaxonomyTerms::tableName() . '.term' => $name ]);
22
+                ->andFilterWhere([TaxonomyTerms::tableName().'.term' => $name]);
23 23
 
24
-        if(!empty($value))
24
+        if (!empty($value))
25 25
             $this->getQuery()
26
-                ->andFilterWhere([ $this->taxonomy->table . '.value' => $value ]);
26
+                ->andFilterWhere([$this->taxonomy->table.'.value' => $value]);
27 27
 
28 28
         return $this->getQuery();
29 29
     }
Please login to merge, or discard this patch.