Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Dec 17, 2024
1 parent f49eec7 commit d01df58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Http/Requests/Resources/UpdateColumnFormRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ public function rules(): array

$valueRules = ['present'];

if(\is_string($fieldRules)) {
if (\is_string($fieldRules)) {
$valueRules[] = $valueRules;
}

if(\is_array($fieldRules)) {
$valueRules = \array_merge($valueRules, $fieldRules);
if (\is_array($fieldRules)) {
$valueRules = array_merge($valueRules, $fieldRules);
}

return [
Expand Down

0 comments on commit d01df58

Please sign in to comment.