svn: /phpdoc/en/trunk/language/oop5/ interfaces.xml
| From: | Christoph Michael Becker | Date: | Sun, 10 Jul 2016 12:30:04 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/oop5/ interfaces.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14311@lists.php.net to get a copy of this message | ||
cmb Sun, 10 Jul 2016 12:30:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339625
Log:
Fix #71664: Use of the term "standard class" inaccurately
Clarify introduction sentence on creating interfaces with respect to classes
--
Provided by anonymous 70720 (d@roscius.ca)
Bug: https://bugs.php.net/71664 (Open) Use of the term
"standard class" inaccurately
Changed paths:
U phpdoc/en/trunk/language/oop5/interfaces.xml
Modified: phpdoc/en/trunk/language/oop5/interfaces.xml
===================================================================
--- phpdoc/en/trunk/language/oop5/interfaces.xml 2016-07-10 12:25:24 UTC (rev 339624)
+++ phpdoc/en/trunk/language/oop5/interfaces.xml 2016-07-10 12:30:04 UTC (rev 339625)
@@ -8,9 +8,9 @@
handled.
</para>
<para>
- Interfaces are defined using the <literal>interface</literal> keyword, in the same
way as a
- standard class, but without any of the methods having their contents
- defined.
+ Interfaces are defined in the same was as a class, but with the
<literal>interface</literal>
+ keyword replacing the <literal>class</literal> keyword and without any of the
methods having
+ their contents defined.
</para>
<para>
All methods declared in an interface must be public; this is the nature of an