@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $pattern = '/^[a-zA-Z_][a-zA-Z_0-9]*$/'; |
50 | 50 | |
51 | 51 | if (preg_match($pattern, $name)) { |
52 | - return ; |
|
52 | + return; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | throw new LogicException(sprintf('Element name "%s" does not match pattern %s', $name, $pattern)); |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | function assertEnumClassIsAbstract(string $fqn): void |
64 | 64 | { |
65 | 65 | if ((new ReflectionClass($fqn))->isAbstract()) { |
66 | - return ; |
|
66 | + return; |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | throw new LogicException(sprintf('Enum %s must be declared as abstract', $fqn)); |