aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Frèrejean <erikfrerejean@phpbb.com>2013-01-03 13:16:38 +0100
committerErik Frèrejean <erikfrerejean@phpbb.com>2013-01-04 23:59:34 +0100
commit68baee4ce2388f9c6233e48ffb4b1223e7671373 (patch)
treee79c993d73f706e49f6cbb039055ed7bbe153888
parent228580b6743b9650996284dd04a3f5de6c2447ca (diff)
downloadforums-68baee4ce2388f9c6233e48ffb4b1223e7671373.tar
forums-68baee4ce2388f9c6233e48ffb4b1223e7671373.tar.gz
forums-68baee4ce2388f9c6233e48ffb4b1223e7671373.tar.bz2
forums-68baee4ce2388f9c6233e48ffb4b1223e7671373.tar.xz
forums-68baee4ce2388f9c6233e48ffb4b1223e7671373.zip
[ticket/11309] phpbb_extension_interface::disable_step correct docblock.
The `@return` documentation of the `phpbb_extension_interface::disable_step` method states incorrect that the method returns null, as it returns false or a state. PHPBB3-11309
-rw-r--r--phpBB/includes/extension/interface.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/extension/interface.php b/phpBB/includes/extension/interface.php
index 74ecb9b762..7b36a12bf6 100644
--- a/phpBB/includes/extension/interface.php
+++ b/phpBB/includes/extension/interface.php
@@ -45,7 +45,9 @@ interface phpbb_extension_interface
*
* @param mixed $old_state The return value of the previous call
* of this method, or false on the first call
- * @return null
+ * @return mixed Returns false after last step, otherwise
+ * temporary state which is passed as an
+ * argument to the next step
*/
public function disable_step($old_state);