diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-11-14 15:17:25 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-11-14 15:17:25 +0100 |
commit | 7f10312bf21dba335a863fb1222db8b9ed64ef0e (patch) | |
tree | c03a87c542397d18fdf887b6c0a3476b991b5013 /tests | |
parent | 308329b5479d16e104c9eb7372222fee67ccdbf5 (diff) | |
download | forums-7f10312bf21dba335a863fb1222db8b9ed64ef0e.tar forums-7f10312bf21dba335a863fb1222db8b9ed64ef0e.tar.gz forums-7f10312bf21dba335a863fb1222db8b9ed64ef0e.tar.bz2 forums-7f10312bf21dba335a863fb1222db8b9ed64ef0e.tar.xz forums-7f10312bf21dba335a863fb1222db8b9ed64ef0e.zip |
[ticket/11896] Correctly document return of null in docblocks
Also got rid of previous incorrect comment in docblocks.
PHPBB3-11896
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_framework/phpbb_functional_test_case.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php index 876e42a4c2..eba5a2dfdf 100644 --- a/tests/test_framework/phpbb_functional_test_case.php +++ b/tests/test_framework/phpbb_functional_test_case.php @@ -868,8 +868,8 @@ class phpbb_functional_test_case extends phpbb_test_case * @param string $subject * @param string $message * @param array $additional_form_data Any additional form data to be sent in the request - * @param string $expected Lang var of expected message after posting or null - * @return array post_id, topic_id + * @param string $expected Lang var of expected message after posting + * @return array|null post_id, topic_id if message is 'POST_STORED' */ public function create_topic($forum_id, $subject, $message, $additional_form_data = array(), $expected = 'POST_STORED') { @@ -894,8 +894,8 @@ class phpbb_functional_test_case extends phpbb_test_case * @param string $subject * @param string $message * @param array $additional_form_data Any additional form data to be sent in the request - * @param string $expected Lang var of expected message after posting or null - * @return array post_id, topic_id + * @param string $expected Lang var of expected message after posting + * @return array|null post_id, topic_id if message is 'POST_STORED' */ public function create_post($forum_id, $topic_id, $subject, $message, $additional_form_data = array(), $expected = 'POST_STORED') { |