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
The ModelsCommand handles parameters in the getParameters function.
When a parameter contains an initializer that creates a new instance, the function errors:
Exception: trim(): Argument #1 ($string) must be of type string, DateTime given
// due to -> trim(Object(DateTime))
Versions:
Description:
The
ModelsCommand
handles parameters in thegetParameters
function.When a parameter contains an initializer that creates a new instance, the function errors:
This is because the function does not handle objects. These are supported since PHP 8.1
https://wiki.php.net/rfc/new_in_initializers
Would be great to have this fixed / implemented.
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: