Passed
Push — master ( f26ac5...d88c68 )
by Brent
08:56
created
src/Enum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
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}.");
Please login to merge, or discard this patch.