@@ -14,6 +14,10 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | class FeatureNode extends Twig_Node_If |
| 16 | 16 | { |
| 17 | + /** |
|
| 18 | + * @param integer $lineno |
|
| 19 | + * @param string $tag |
|
| 20 | + */ |
|
| 17 | 21 | public function __construct($name, $parent, $body, $else, $lineno, $tag = null) |
| 18 | 22 | { |
| 19 | 23 | $tests = new Twig_Node([ |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | |
| 49 | 49 | $conflicts = array_filter( |
| 50 | 50 | $container->getDefinitions(), |
| 51 | - function (Definition $definition) { |
|
| 51 | + function(Definition $definition) { |
|
| 52 | 52 | return FeatureAdmin::class === $definition->getClass() && |
| 53 | 53 | $definition->hasTag('sonata.admin'); |
| 54 | 54 | } |