From 4c1f5dc46f2b220306af0cde8a892932de1a563c Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Sun, 23 Jun 2024 18:38:12 +0200 Subject: [PATCH] Fix typo in README.md (#10) --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 89df702..2babb40 100644 --- a/README.md +++ b/README.md @@ -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