Skip to content

Commit

Permalink
Fix "Optional parameters specified before required parameters" again
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Nov 27, 2024
1 parent 8ce232d commit dda2ffb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function addErrors(array $errors);
* @param string $constraint the constraint/rule that is broken, e.g.: 'minLength'
* @param array $more more array elements to add to the error
*/
public function addError(?JsonPointer $path = null, $message, $constraint = '', ?array $more = null);
public function addError(?JsonPointer $path = null, $message = '', $constraint = '', ?array $more = null);

/**
* checks if the validator has not raised errors
Expand Down

0 comments on commit dda2ffb

Please sign in to comment.