[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/funchand/functions/_register-tick-function.xml_u
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2019-02-25 12:12:10
Message-ID: svn-cmb-1551096730-346902-1233950475 () svn ! php ! net
[Download RAW message or body]
cmb Mon, 25 Feb 2019 12:12:10 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=346902
Log:
Fix return type
Based on a patch provided by an anonymous user.
Changed paths:
U phpdoc/en/trunk/reference/funchand/functions/register-tick-function.xml
U phpdoc/en/trunk/reference/funchand/functions/unregister-tick-function.xml
Modified: phpdoc/en/trunk/reference/funchand/functions/register-tick-function.xml
===================================================================
--- phpdoc/en/trunk/reference/funchand/functions/register-tick-function.xml 2019-02-25 \
11:37:39 UTC (rev 346901)
+++ phpdoc/en/trunk/reference/funchand/functions/register-tick-function.xml 2019-02-25 \
12:12:10 UTC (rev 346902) @@ -27,8 +27,7 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
- The function name as a string, or an array consisting of an object and
- a method.
+ The function to register.
</para>
</listitem>
</varlistentry>
Modified: phpdoc/en/trunk/reference/funchand/functions/unregister-tick-function.xml
===================================================================
--- phpdoc/en/trunk/reference/funchand/functions/unregister-tick-function.xml 2019-02-25 \
11:37:39 UTC (rev 346901)
+++ phpdoc/en/trunk/reference/funchand/functions/unregister-tick-function.xml 2019-02-25 \
12:12:10 UTC (rev 346902) @@ -10,10 +10,10 @@
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>unregister_tick_function</methodname>
- <methodparam><type>string</type><parameter>function_name</parameter></methodparam>
+ <methodparam><type>callable</type><parameter>function</parameter></methodparam>
</methodsynopsis>
<simpara>
- De-registers the function named by <parameter>function_name</parameter> so it is
+ De-registers the function <parameter>function</parameter> so it is
no longer executed when a <link
linkend="control-structures.declare">tick</link> is
called.
@@ -28,7 +28,7 @@
<term><parameter>function_name</parameter></term>
<listitem>
<para>
- The function name, as a string.
+ The function to de-register.
</para>
</listitem>
</varlistentry>
--
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