Project

General

Profile

Actions

Task #92298

closed

phpstan related changes to DependencyInjection caused wrong type declaration

Added by Benjamin Franzke over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2020-09-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

https://review.typo3.org/c/Packages/TYPO3.CMS/+/65685

In ServiceProviderRegistry::create Package argument was changed to PackageInterface,
but the method getServiveProvider() is not available on the Interface.
Package was declared as type (instead of PackageInterface) by intent.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #92110: Fix phpstan checkFunctionArgumentTypes errors in ext:coreClosed2020-09-10

Actions
Is duplicate of TYPO3 Core - Bug #92491: ServiceProviderRegistry->create must not have PackageInterface type hintedClosedDaniel Goerz2020-10-06

Actions
Actions

Also available in: Atom PDF