Passed
Push — main ( aea47e...7f34fc )
by Roberto
12:44
created
src/Boson/DataTypes/ForeignKey.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,9 @@
 block discarded – undo
14 14
 
15 15
     public function validate($value)
16 16
     {
17
-        if (!is_a($value, $this->parent) && !is_int($value)) return false;
17
+        if (!is_a($value, $this->parent) && !is_int($value)) {
18
+            return false;
19
+        }
18 20
         return parent::validate($value);
19 21
     }
20 22
 }
Please login to merge, or discard this patch.