Project

General

Profile

Actions

Bug #92491

closed

ServiceProviderRegistry->create must not have PackageInterface type hinted

Added by Daniel Goerz over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2020-10-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

With #92263 the type hint for ServiceProviderRegistry->create() was changed from Package to PackageInterface which is wrong because a method is called that is not part of the interface.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #92263: Fix phpstan checkFunctionArgumentTypes errors in ext:core DependencyInjectionClosed2020-09-10

Actions
Has duplicate TYPO3 Core - Task #92298: phpstan related changes to DependencyInjection caused wrong type declarationClosed2020-09-13

Actions
Actions

Also available in: Atom PDF