Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [Validation] Callable Rules #7933

Merged
merged 3 commits into from
Oct 1, 2023

Commits on Sep 23, 2023

  1. feat: array callable Validation rule

    If a rule is a callable, there is no way to set param.
    So the removed `($param === false)` is always true.
    
    $passed = $param === false ? $rule($value) : $rule($value, $param, $data);
    kenjis committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    5ffc0b6 View commit details
    Browse the repository at this point in the history
  2. docs: add and update docs

    kenjis committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    91f8b4b View commit details
    Browse the repository at this point in the history
  3. refactor: by rector

    kenjis committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    a089af6 View commit details
    Browse the repository at this point in the history