[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: Fix typo (a constants -> a constant)
From: HypeMC via GitHub <noreply () php ! net>
Date: 2023-01-29 16:27:43
Message-ID: RudOqMWN9NYcjrfghsFzgIKCml3HNwMJzvL2KPQ3O0 () main ! php ! net
[Download RAW message or body]
Author: HypeMC (HypeMC)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2023-01-29T17:14:44+01:00
Commit: https://github.com/php/doc-en/commit/d0809c19c1ca419f520951fbe8afeee2da6c6920
Raw diff: https://github.com/php/doc-en/commit/d0809c19c1ca419f520951fbe8afeee2da6c6920.diff
Fix typo (a constants -> a constant)
Closes GH-2257.
Changed paths:
M language/oop5/traits.xml
Diff:
diff --git a/language/oop5/traits.xml b/language/oop5/traits.xml
index 0b36894cc96..58c1fcca291 100644
--- a/language/oop5/traits.xml
+++ b/language/oop5/traits.xml
@@ -520,7 +520,7 @@ echo $example::FLAG_MUTABLE; // 1
</programlisting>
</example>
<para>
- If a trait defines a constants then a class can not define a constants with
+ If a trait defines a constant then a class can not define a constant with
the same name unless it is compatible (same visibility, initial value, and
finality), otherwise a fatal error is issued.
</para>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic