Skip to content

Commit 2bf7156

Browse files
committed
Expand Properties and Constants on constants where it makes sense
1 parent af462c8 commit 2bf7156

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
@@ -448,9 +448,9 @@ version supports constant visibilities (PHP 7.1 or later).
448448

449449
The `var` keyword MUST NOT be used to declare a property.
450450

451-
There MUST NOT be more than one property declared per statement.
451+
There MUST NOT be more than one property or constant declared per statement.
452452

453-
Property names MUST NOT be prefixed with a single underscore to indicate
453+
Property or constant names MUST NOT be prefixed with a single underscore to indicate
454454
protected or private visibility. That is, an underscore prefix explicitly has
455455
no meaning.
456456

0 commit comments

Comments
 (0)