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
\Assert\ThatOneOf($someObject, 'Value must be string or object with method "__toString".')
->string()
->methodExists($someObject, '__toString')
->end();
This chain fails only if both assertions fails.
I know this check can be realize as it described in #83.
It may look like
This chain fails only if both assertions fails.
I know this check can be realize as it described in #83.
But if we need more assertions next looks better.
What do you think about it?
The text was updated successfully, but these errors were encountered: