Skip to content

Commit 7145d7b

Browse files
committed
Wordsmithing.
1 parent 6acd1d6 commit 7145d7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ $instance = new class extends \Foo implements
10941094

10951095
## 9. Enumerations
10961096

1097-
Enumerations (enums) MUST follow the same guidelines as classes, except where otherwise noted here.
1097+
Enumerations (enums) MUST follow the same guidelines as classes, except where otherwise noted below.
10981098

10991099
Methods in enums MUST follow the same guidelines as methods in classes. Non-public methods MUST use `private`
11001100
instead of `protected`, as enums do not support inheritance.
@@ -1105,7 +1105,7 @@ space between the colon and the backing type. This is consistent with the style
11051105
Enum case declarations MUST use CamelCase capitalization. Enum case declarations MUST be on their own line.
11061106

11071107
Constants in Enumerations MAY use either CamelCase or UPPER_CASE capitalization. CamelCase is RECOMMENDED,
1108-
so that it is consistent with cases.
1108+
so that it is consistent with case declarations.
11091109

11101110
```php
11111111
enum Suit: string

0 commit comments

Comments
 (0)