@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | new Rule(new RegexMatcher('/interface\s+([\w\\\]+)/i')), |
86 | 86 | new Rule(new DelegateRegexMatcher( |
87 | 87 | '/implements\s+((?:[\w\\\]+)(?:,\s*([\w\\\]+))+)/i', |
88 | - function ($match, TokenFactoryInterface $factory) { |
|
88 | + function($match, TokenFactoryInterface $factory) { |
|
89 | 89 | foreach (preg_split('/,\s*/', $match[1][0], 0, PREG_SPLIT_OFFSET_CAPTURE) as $interface) { |
90 | 90 | yield $factory->create(Token::NAME, [ |
91 | 91 | 'pos' => $match[1][1] + $interface[1], |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | new Rule( |
131 | 131 | new DelegateRegexMatcher( |
132 | 132 | '/#(\[(?>[^\[\]]+|(?1))*\])/m', |
133 | - function ( |
|
133 | + function( |
|
134 | 134 | $match, |
135 | 135 | TokenFactoryInterface $factory |
136 | 136 | ) use ( |