You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However passing a null to these methods will result in a TypeError
Is this a typo or intentional? In my own project I just converted everything to string. Happy to make a PR for that if you agree.
The text was updated successfully, but these errors were encountered:
Dmitrev
changed the title
src/Application/ActionsActionError has wrong type $descriptionsrc/Application/Actions/ActionError has wrong type $descriptionJul 8, 2022
This file declares
$description
asstring
https://github.com/slimphp/Slim-Skeleton/blob/master/src/Application/Actions/ActionError.php#L23
While all the other methods seem to accept
?string
https://github.com/slimphp/Slim-Skeleton/blob/master/src/Application/Actions/ActionError.php#L25
https://github.com/slimphp/Slim-Skeleton/blob/master/src/Application/Actions/ActionError.php#L47
However passing a null to these methods will result in a
TypeError
Is this a typo or intentional? In my own project I just converted everything to
string
. Happy to make a PR for that if you agree.The text was updated successfully, but these errors were encountered: