Browse Source

Typo

merge-requests/45/head
kensae 2 years ago
parent
commit
19ace6afaf
  1. 2
      src/TwigTweakExtension.php

2
src/TwigTweakExtension.php

@ -145,7 +145,7 @@ class TwigTweakExtension extends AbstractExtension {
/** /**
* Builds the render array for a block. * Builds the render array for a block.
*/ */
public static function drupalBlock(string $id, array $configuration = [], array | string $arguments = [] bool $wrapper = TRUE): array { public static function drupalBlock(string $id, array $configuration = [], array | string $arguments = [], bool $wrapper = TRUE): array {
if (is_string($arguments)) { if (is_string($arguments)) {
$arguments = explode(',', $arguments); $arguments = explode(',', $arguments);
} }

Loading…
Cancel
Save