Test Failed
Pull Request — master (#11)
by Alexander
05:04
created
src/Behaviors/BooleanBehavior.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     protected function makeReturnValue(bool $value)
70 70
     {
71
-        if (!in_array($this->returnType, [static::RETURN_TYPE_BOOL, static::RETURN_TYPE_INT,])) {
71
+        if (!in_array($this->returnType, [static::RETURN_TYPE_BOOL, static::RETURN_TYPE_INT, ])) {
72 72
             throw new InvalidConfigException("Invalid return type {$this->returnType}");
73 73
         }
74 74
         return $this->returnType === static::RETURN_TYPE_BOOL ? $value : (int)$value;
Please login to merge, or discard this patch.