Skip to content

Commit

Permalink
PHP CS Fixer: Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
MelechMizrachi committed Apr 16, 2023
1 parent a16496d commit ab8d87e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Valkyrja/Routing/Dispatchers/MessageCapableRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protected function abortDueToValidationErrors(Request $request, string $message)
}

/**
* @param array $data The data
* @param array $data The data
* @param array<string, array<string, array{arguments: array, message?: string}>> $messageRules The message rules
*
* @return array
Expand Down
10 changes: 5 additions & 5 deletions src/Valkyrja/Validation/Validators/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ protected function validateRuleSet(array $ruleSet): void
/**
* Validate a subject item.
*
* @param string $subjectName The subject name
* @param mixed $subject The subject
* @param string $subjectName The subject name
* @param mixed $subject The subject
* @param array<string, array{arguments: array, message?: string}> $rules The rules
*
* @return void
Expand Down Expand Up @@ -198,9 +198,9 @@ protected function validateSubject(string $subjectName, mixed $subject, array $r
/**
* Validate a rule.
*
* @param string $subjectName The subject name
* @param string $name The rule name
* @param mixed $subject The subject
* @param string $subjectName The subject name
* @param string $name The rule name
* @param mixed $subject The subject
* @param array{arguments: array, message?: string} $rule The rule
*
* @return void
Expand Down

0 comments on commit ab8d87e

Please sign in to comment.