Skip to content

Commit

Permalink
refactor: Add ArrowFunction return type #1183
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Jan 1, 2025
1 parent 4ad2da8 commit 87f5277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ViewManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function addEngine(EngineInterface $engine): void
{
$this->engines[] = $engine->withLoader($this->loader);

\uasort($this->engines, static fn (EngineInterface $a, EngineInterface $b) => \strcmp(
\uasort($this->engines, static fn (EngineInterface $a, EngineInterface $b): int => \strcmp(
$a->getLoader()->getExtension() ?? '',
$b->getLoader()->getExtension() ?? ''
));
Expand Down

0 comments on commit 87f5277

Please sign in to comment.