Skip to content

Commit

Permalink
Apply styleci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjunges committed Jan 28, 2024
1 parent bcfc65a commit 599e60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Concerns/FormatsMessages.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ protected function getAttributeType($attribute)
// We assume that the attributes present in the file array are files so that
// means that if the attribute does not have a numeric rule and the files
// list doesn't have it we'll just consider it a string by elimination.
return match(true) {
return match (true) {
$this->hasRule($attribute, $this->numericRules) => 'numeric',
$this->hasRule($attribute, ['Array']) => 'array',
$this->getValue($attribute) instanceof UploadedFile => 'file',
Expand Down

0 comments on commit 599e60c

Please sign in to comment.