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
What do you think about an assertion that validates if the array meets the specified set of keys?
Assertion::keySet(['a' => 1], ['a']); // ok
Assertion::keySet(['a' => 1], ['a', 'b']); // not ok
Assertion::keySet(['a' => 1, 'b' => 1], ['a']); // not ok
What do you think about an assertion that validates if the array meets the specified set of keys?
Inspired by https://respect-validation.readthedocs.io/en/1.1/rules/KeySet/
The text was updated successfully, but these errors were encountered: