|
@@ -44,7 +44,7 @@ |
|
|
block discarded – undo |
|
44
|
44
|
*/ |
|
45
|
45
|
public function __construct(array $shortcodeTags, $twig, ?FormFactoryInterface $formFactory = null) |
|
46
|
46
|
{ |
|
47
|
|
- $this->shortcodeTags = array_combine(array_map(function (array $definition): string { return $definition['shortcode']; }, $shortcodeTags), $shortcodeTags); |
|
|
47
|
+ $this->shortcodeTags = array_combine(array_map(function(array $definition): string { return $definition['shortcode']; }, $shortcodeTags), $shortcodeTags); |
|
48
|
48
|
$this->twig = $twig; |
|
49
|
49
|
$this->formFactory = $formFactory; |
|
50
|
50
|
} |
Please login to merge, or discard this patch.