Skip to content

Commit db16cb7

Browse files
authored
Fixed nette DI deprecations (#91)
1 parent acb7f88 commit db16cb7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

extension.neon

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ services:
3030
-
3131
class: Pepakriz\PHPStanExceptionRules\ThrowsAnnotationReader
3232
-
33-
class: Pepakriz\PHPStanExceptionRules\CheckedExceptionService(%exceptionRules.checkedExceptions%, %exceptionRules.uncheckedExceptions%)
33+
class: Pepakriz\PHPStanExceptionRules\CheckedExceptionService
34+
factory: Pepakriz\PHPStanExceptionRules\CheckedExceptionService(%exceptionRules.checkedExceptions%, %exceptionRules.uncheckedExceptions%)
3435

3536
-
36-
class: Pepakriz\PHPStanExceptionRules\DefaultThrowTypeService(%exceptionRules.methodThrowTypeDeclarations%, %exceptionRules.functionThrowTypeDeclarations%)
37+
class: Pepakriz\PHPStanExceptionRules\DefaultThrowTypeService
38+
factory: Pepakriz\PHPStanExceptionRules\DefaultThrowTypeService(%exceptionRules.methodThrowTypeDeclarations%, %exceptionRules.functionThrowTypeDeclarations%)
3739

3840
-
3941
class: Pepakriz\PHPStanExceptionRules\DefaultThrowTypeExtension

0 commit comments

Comments
 (0)