mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 23:55:26 +02:00
[ticket/11896] Correctly document return of null in docblocks
Also got rid of previous incorrect comment in docblocks. PHPBB3-11896
This commit is contained in:
parent
308329b547
commit
7f10312bf2
@ -868,8 +868,8 @@ class phpbb_functional_test_case extends phpbb_test_case
|
|||||||
* @param string $subject
|
* @param string $subject
|
||||||
* @param string $message
|
* @param string $message
|
||||||
* @param array $additional_form_data Any additional form data to be sent in the request
|
* @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
|
* @param string $expected Lang var of expected message after posting
|
||||||
* @return array post_id, topic_id
|
* @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')
|
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 $subject
|
||||||
* @param string $message
|
* @param string $message
|
||||||
* @param array $additional_form_data Any additional form data to be sent in the request
|
* @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
|
* @param string $expected Lang var of expected message after posting
|
||||||
* @return array post_id, topic_id
|
* @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')
|
public function create_post($forum_id, $topic_id, $subject, $message, $additional_form_data = array(), $expected = 'POST_STORED')
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user