Project

General

Profile

Actions

Bug #91930

closed

PHP Warning A non-numeric value encountered in ErrorHandler.php

Added by Kevin Ditscheid over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2020-08-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.1
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

The parameter in the constructor of the ErrorHandler does not actually require an int, it is just hinted in the doc block.
We should ensure int by casting the parameter. This way we can prevent a PHP warning regarding non-numeric value comparison.

Actions

Also available in: Atom PDF