Skip to content

Commit

Permalink
Update method signatures to accept nullable input (#590)
Browse files Browse the repository at this point in the history
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
  • Loading branch information
huangdijia and huangdijia committed Mar 15, 2024
1 parent 1e310ed commit bcde13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/ValidatesInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected function attributes(): array
*
* @throws ValidationException
*/
protected function setUpValidatesInput(InputInterface $input, OutputInterface $output): void
protected function setUpValidatesInput(?InputInterface $input, ?OutputInterface $output): void
{
if (empty($rules = $this->rules())) {
return;
Expand Down

0 comments on commit bcde13d

Please sign in to comment.