Skip to content

Commit 1651836

Browse files
Namespaces: note that enums are affected (#4739)
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
1 parent 7c125c7 commit 1651836

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

language/namespaces.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ echo constant($d); // see "Namespaces and dynamic language features" section
9191
<?phpdoc print-version-for="namespaces"?>
9292
<para>
9393
Although any valid PHP code can be contained within a namespace, only the following
94-
types of code are affected by namespaces: classes (including abstracts and traits), interfaces, functions and constants.
94+
types of code are affected by namespaces: classes (including abstract classes, traits and enums), interfaces,
95+
functions and constants.
9596
</para>
9697
<para>
9798
Namespaces are declared using the <literal>namespace</literal>

0 commit comments

Comments
 (0)