Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 2, 2023
1 parent 33d8c41 commit bd3f57a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@

namespace Hyde\Framework\Features\Publications;

use Illuminate\Contracts\Validation\Validator;
use function array_merge;
use function collect;
use Hyde\Framework\Features\Publications\Models\PublicationFieldDefinition;
use Hyde\Framework\Features\Publications\Models\PublicationType;
use Illuminate\Support\Collection;
use Illuminate\Contracts\Validation\Validator;
use function validator;

/**
Expand Down Expand Up @@ -58,7 +57,8 @@ protected function makeDynamicRules(): array
return [];
}

protected function makeValidator(mixed $input, array $rules): Validator {
protected function makeValidator(mixed $input, array $rules): Validator
{
return validator(
[$this->fieldDefinition->name => $input],
[$this->fieldDefinition->name => $rules]
Expand Down

0 comments on commit bd3f57a

Please sign in to comment.