Passed
Push — master ( aa0d3e...cc9e47 )
by Alexander
10:58 queued 08:32
created
src/Behaviors/BooleanBehavior.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             return $value;
77 77
         }
78 78
 
79
-        if (!in_array($this->returnType, [static::RETURN_TYPE_BOOL, static::RETURN_TYPE_INT,])) {
79
+        if (!in_array($this->returnType, [static::RETURN_TYPE_BOOL, static::RETURN_TYPE_INT, ])) {
80 80
             throw new InvalidConfigException("Invalid return type {$this->returnType}");
81 81
         }
82 82
         return $this->returnType === static::RETURN_TYPE_BOOL ? $value : (int)$value;
Please login to merge, or discard this patch.