Skip to content

Commit

Permalink
Inline local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 8, 2024
1 parent 11634c0 commit 0987ac0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ protected static function findLineContentPositions(array $lines): array

protected function configureCustomHeadingRenderer(): void
{
$environment = $this->converter->getEnvironment();
$environment->addRenderer(Heading::class, new HeadingRenderer($this->pageClass, $this->headingRegistry));
$this->converter->getEnvironment()->addRenderer(Heading::class, new HeadingRenderer($this->pageClass, $this->headingRegistry));
}
}

0 comments on commit 0987ac0

Please sign in to comment.