[go: nahoru, domu]

Skip to content

Commit

Permalink
Add object shapes to return types where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Jul 7, 2024
1 parent cffd19c commit ff2954f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mako/validator/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ public function addRulesIf(string $field, array $ruleSet, bool|Closure $conditio

/**
* Parses the rule.
*
* @return object{package: string|null, name: string, parameters: array<mixed>}
*/
protected function parseRule(string $rule): object
{
Expand Down

0 comments on commit ff2954f

Please sign in to comment.