Completed
Push — master ( 05bee2...b73013 )
by Tõnis
02:28
created
src/test/ModelTestTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function testRulesForExistingAttributesOnly() {
29 29
         // labels only for actually existing attributes
30 30
         foreach ($this->model->rules() as $rule) {
31
-            $rules = (is_array($rule[0]) ? $rule[0] : [$rule[0]] );
31
+            $rules = (is_array($rule[0]) ? $rule[0] : [$rule[0]]);
32 32
             foreach ($rules as $attribute) {
33 33
                 $this->assertArrayHasKey($attribute, array_merge(get_object_vars($this->model), $this->model->attributes));
34 34
             }
Please login to merge, or discard this patch.