Skip to content

Commit c22841f

Browse files
committed
fix reassign
1 parent 26eafc1 commit c22841f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Middleware/Mezzio.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,8 @@ final class Mezzio implements MiddlewareInterface
3636
/**
3737
* @param array{exclude-exceptions: array, enable: bool, display-settings: array} $errorHeroModuleConfig
3838
*/
39-
public function __construct(
40-
private array $errorHeroModuleConfig,
41-
private readonly Logging $logging,
42-
private readonly ?TemplateRendererInterface $templateRenderer
43-
) {
44-
$this->errorHeroModuleConfig = $errorHeroModuleConfig;
39+
public function __construct(private array $errorHeroModuleConfig, private readonly Logging $logging, private readonly ?TemplateRendererInterface $templateRenderer)
40+
{
4541
}
4642

4743
public function process(

0 commit comments

Comments
 (0)