Project

General

Profile

Actions

Task #103962

closed

suppress another phpstan error

Added by Anja Leichsenring about 2 months ago. Updated 8 days ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2024-06-01
Due date:
% Done:

100%

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

Description

with #99146 GeneralUtility::makeInstance received a parameter clarification for phpstan. This parameter (in effect being a string) is used to compare against it being empty. But phpstan itself insists on this comparison being always false due to the annotation, which in reality is not true.
So the error is just suppressed, along with the rest introduced with the annotation change.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #99146: Improve the type annotations around GU::makeInstance & friendsClosedOliver Klee2022-11-20

Actions
Actions

Also available in: Atom PDF