Skip to content

Commit

Permalink
Fix typo in README.md (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreesen committed Jun 23, 2024
1 parent 0192d24 commit 4c1f5dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ print "$attribB->name, $attribB->age\n"; // prints "none, 0"

The `subAttributes()` method returns an associative array of attribute class names mapped to methods to call. They may be strings, or an inline closure, or a closed reference to a method, which may be private if desired. For example:

```php
```php
#[\Attribute(\Attribute::TARGET_CLASS)]
class MainAttrib implements HasSubAttributes
Expand Down

0 comments on commit 4c1f5dc

Please sign in to comment.