#91930PHP Warning A non-numeric value encountered in ErrorHandler.php
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.