Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mozex committed Jun 28, 2024
1 parent 45bbc1e commit b0a0744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RoutesExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function register(EnvironmentBuilderInterface $environment): void
{
$environment->addEventListener(
eventClass: DocumentPreParsedEvent::class,
listener: [$this, 'onPreParsed']
listener: $this->onPreParsed(...)
);
}

Expand Down

0 comments on commit b0a0744

Please sign in to comment.