|  | @@ -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.