Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Jan 11, 2024
1 parent adf066c commit a60455a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ public function main(

## Parameter Attributes

Use `StringAttr` to validate a string:
Use `StringAttr` to validate string:

```php
use Chevere\Attributes\StringAttr;
use Chevere\Parameter\Attributes\StringAttr;

public function main(
#[StringAttr('/^[a-z]$/')]
Expand Down

0 comments on commit a60455a

Please sign in to comment.