Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
StyleCIBot committed May 29, 2023
1 parent d00b177 commit 7a6e32b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Scaffolder/src/Declaration/FilterDeclaration.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ public function addProperty(string $property): void
}
}

public function getInstructions(): array
{
return [
'Read more about Filter Objects in the documentation: https://spiral.dev/docs/filters-filter',
'Read more about Filter validation handling here: https://spiral.dev/docs/filters-filter#handle-validation-errors',
];
}

private function parseProperty(string $property): Property
{
$declaredType = null;
Expand Down Expand Up @@ -141,12 +149,4 @@ private function getSourceClassByName(string $source): array
default => [Input\Input::class, 'string']
};
}

public function getInstructions(): array
{
return [
'Read more about Filter Objects in the documentation: https://spiral.dev/docs/filters-filter',
'Read more about Filter validation handling here: https://spiral.dev/docs/filters-filter#handle-validation-errors',
];
}
}

0 comments on commit 7a6e32b

Please sign in to comment.