Skip to content

Commit

Permalink
fn() -> function()
Browse files Browse the repository at this point in the history
  • Loading branch information
0xb4lint committed May 3, 2024
1 parent e74cdf1 commit 2e73bef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/OptimizerChainFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@
Cwebp::class,
Avifenc::class,
],
array_map(fn (Optimizer $optimizer) => get_class($optimizer), $this->optimizerChain->getOptimizers())
array_map(
function (Optimizer $optimizer) {
return get_class($optimizer);
},
$this->optimizerChain->getOptimizers()
)
);
});

Expand Down

0 comments on commit 2e73bef

Please sign in to comment.