svn: /phpdoc/en/trunk/language/ functions.xml
| From: | Adam Harvey | Date: | Thu, 03 Sep 2015 21:09:03 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ functions.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13703@lists.php.net to get a copy of this message | ||
aharvey Thu, 03 Sep 2015 21:09:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337738
Log:
Add self to the list of possible type names.
Changed paths:
U phpdoc/en/trunk/language/functions.xml
Modified: phpdoc/en/trunk/language/functions.xml
===================================================================
--- phpdoc/en/trunk/language/functions.xml 2015-09-03 20:59:06 UTC (rev 337737)
+++ phpdoc/en/trunk/language/functions.xml 2015-09-03 21:09:03 UTC (rev 337738)
@@ -400,6 +400,15 @@
<entry>PHP 5.0.0</entry>
</row>
<row>
+ <entry><literal>self</literal></entry>
+ <entry>
+ The parameter must be an &instanceof; the same class as the one the
+ method is defined on. This can only be used on class and instance
+ methods.
+ </entry>
+ <entry>PHP 5.0.0</entry>
+ </row>
+ <row>
<entry><type>array</type></entry>
<entry>
The parameter must be an <type>array</type>.