Browse Source

Remove redundant parens

Mark Story 7 years ago
parent
commit
2884049989
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Validation/Validator.php

+ 1 - 1
src/Validation/Validator.php

@@ -2339,7 +2339,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
             return true;
         }
 
-        $arrayTypes = (self::EMPTY_ARRAY | self::EMPTY_DATE | self::EMPTY_TIME | self::EMPTY_FILE);
+        $arrayTypes = self::EMPTY_ARRAY | self::EMPTY_DATE | self::EMPTY_TIME | self::EMPTY_FILE;
         if ($data === [] && ($flags & $arrayTypes)) {
             return true;
         }