File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
10991099Methods in enums MUST follow the same guidelines as methods in classes. Non-public methods MUST use ` private `
11001100instead 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
11051105Enum case declarations MUST use CamelCase capitalization. Enum case declarations MUST be on their own line.
11061106
11071107Constants 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
11111111enum Suit: string
You can’t perform that action at this time.
0 commit comments