Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbcd9033

Browse files
committed
Explicitly specify expected exception mapping structure with phpdocs
1 parent1203d05 commitbcd9033

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/Symfony/Component/HttpKernel/EventListener/ErrorListener.php‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,14 @@ class ErrorListener implements EventSubscriberInterface
3333
protected$controller;
3434
protected$logger;
3535
protected$debug;
36+
/**
37+
* @var array<class-string, array{log_level: string|null, status_code: int<100,599>|null}>
38+
*/
3639
protected$exceptionsMapping;
3740

41+
/**
42+
* @param array<class-string, array{log_level: string|null, status_code: int<100,599>|null}> $exceptionsMapping
43+
*/
3844
publicfunction__construct($controller,LoggerInterface$logger =null,bool$debug =false,array$exceptionsMapping = [])
3945
{
4046
$this->controller =$controller;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp