Passed
Pull Request — master (#371)
by Jason
11:20
created
src/Model/ProductCategory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
     public function validate() {
196 196
         $result = parent::validate();
197 197
 
198
-        if(ProductCategory::get()->filter('Code', $this->Code)->first()) {
198
+        if (ProductCategory::get()->filter('Code', $this->Code)->first()) {
199 199
             $result->addError('Code must be unique for each category.');
200 200
         }
201 201
 
Please login to merge, or discard this patch.