| @@ -52,7 +52,7 @@ | ||
| 52 | 52 | */ | 
| 53 | 53 | public function __construct($value) | 
| 54 | 54 |      { | 
| 55 | -        if (! (is_string($value) || is_int($value))) { | |
| 55 | +        if (!(is_string($value) || is_int($value))) { | |
| 56 | 56 | $enumClass = static::class; | 
| 57 | 57 | |
| 58 | 58 |              throw new TypeError("Only string and integer are allowed values for enum {$enumClass}."); |