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
I am thinking about introducing a $value parameter for InvalidArgumentException so that it can be used for further analysis.
- protected static function reportInvalidArgument(string $message): never+ protected static function reportInvalidArgument(mixed $value, string $message): never
{
- throw new InvalidArgumentException($message);+ throw new InvalidArgumentException($value, $message);
}
Activity
[-]Add a value to `InvalidArgumentException`[/-][+]Value parameter for `InvalidArgumentException`[/+]