mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 01:51:31 +02:00
[ticket/11495] Fix more grammar issues in doc blocks
PHPBB3-11495
This commit is contained in:
@@ -90,8 +90,8 @@ interface phpbb_tree_interface
|
|||||||
/**
|
/**
|
||||||
* Get all items that are either ancestors or descendants of the item
|
* Get all items that are either ancestors or descendants of the item
|
||||||
*
|
*
|
||||||
* @param int $item_id The item to get the ancestors/descendants from
|
* @param int $item_id The item id the ancestors/descendants should be retrieved from
|
||||||
* @param bool $order_asc Order the items ascending (most outer ancestor first)
|
* @param bool $order_asc Order the items ascendingly (most outer ancestor first)
|
||||||
* @param bool $include_item Should the item matching the given item id be included in the list as well
|
* @param bool $include_item Should the item matching the given item id be included in the list as well
|
||||||
* @return array Array of items (containing all columns from the item table)
|
* @return array Array of items (containing all columns from the item table)
|
||||||
* ID => Item data
|
* ID => Item data
|
||||||
@@ -99,10 +99,10 @@ interface phpbb_tree_interface
|
|||||||
public function get_path_and_subtree_data($item_id, $order_asc, $include_item);
|
public function get_path_and_subtree_data($item_id, $order_asc, $include_item);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get all ancestors of the item
|
* Get all of the item's ancestors
|
||||||
*
|
*
|
||||||
* @param int $item_id The item id to get the ancestors from
|
* @param int $item_id The item id the ancestors should be retrieved from
|
||||||
* @param bool $order_asc Order the items ascending (most outer ancestor first)
|
* @param bool $order_asc Order the items ascendingly (most outer ancestor first)
|
||||||
* @param bool $include_item Should the item matching the given item id be included in the list as well
|
* @param bool $include_item Should the item matching the given item id be included in the list as well
|
||||||
* @return array Array of items (containing all columns from the item table)
|
* @return array Array of items (containing all columns from the item table)
|
||||||
* ID => Item data
|
* ID => Item data
|
||||||
@@ -110,10 +110,10 @@ interface phpbb_tree_interface
|
|||||||
public function get_path_data($item_id, $order_asc, $include_item);
|
public function get_path_data($item_id, $order_asc, $include_item);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get all descendants of the item
|
* Get all of the item's descendants
|
||||||
*
|
*
|
||||||
* @param int $item_id The item id to get the descendants from
|
* @param int $item_id The item id the descendants should be retrieved from
|
||||||
* @param bool $order_asc Order the items ascending
|
* @param bool $order_asc Order the items ascendingly
|
||||||
* @param bool $include_item Should the item matching the given item id be included in the list as well
|
* @param bool $include_item Should the item matching the given item id be included in the list as well
|
||||||
* @return array Array of items (containing all columns from the item table)
|
* @return array Array of items (containing all columns from the item table)
|
||||||
* ID => Item data
|
* ID => Item data
|
||||||
|
@@ -34,7 +34,7 @@ class phpbb_tests_tree_nestedset_forum_base extends phpbb_database_test_case
|
|||||||
10 => array('forum_id' => 10, 'parent_id' => 9, 'user_id' => 0, 'left_id' => 17, 'right_id' => 18, 'forum_parents' => 'a:0:{}'),
|
10 => array('forum_id' => 10, 'parent_id' => 9, 'user_id' => 0, 'left_id' => 17, 'right_id' => 18, 'forum_parents' => 'a:0:{}'),
|
||||||
11 => array('forum_id' => 11, 'parent_id' => 7, 'user_id' => 0, 'left_id' => 20, 'right_id' => 21, 'forum_parents' => 'a:0:{}'),
|
11 => array('forum_id' => 11, 'parent_id' => 7, 'user_id' => 0, 'left_id' => 20, 'right_id' => 21, 'forum_parents' => 'a:0:{}'),
|
||||||
|
|
||||||
// Unexisting forums
|
// Non-existent forums
|
||||||
0 => array('forum_id' => 0, 'parent_id' => 0, 'user_id' => 0, 'left_id' => 0, 'right_id' => 0, 'forum_parents' => 'a:0:{}'),
|
0 => array('forum_id' => 0, 'parent_id' => 0, 'user_id' => 0, 'left_id' => 0, 'right_id' => 0, 'forum_parents' => 'a:0:{}'),
|
||||||
200 => array('forum_id' => 200, 'parent_id' => 0, 'user_id' => 0, 'left_id' => 0, 'right_id' => 0, 'forum_parents' => 'a:0:{}'),
|
200 => array('forum_id' => 200, 'parent_id' => 0, 'user_id' => 0, 'left_id' => 0, 'right_id' => 0, 'forum_parents' => 'a:0:{}'),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user