1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-22 17:41:24 +02:00

[ticket/11495] Fix more grammar issues in doc blocks

PHPBB3-11495
This commit is contained in:
Joas Schilling
2013-04-30 18:24:54 +02:00
parent 98e6207c35
commit 2f54a63b0f
2 changed files with 9 additions and 9 deletions

View File

@@ -90,8 +90,8 @@ interface phpbb_tree_interface
/**
* 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 bool $order_asc Order the items ascending (most outer ancestor first)
* @param int $item_id The item id the ancestors/descendants should be retrieved from
* @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
* @return array Array of items (containing all columns from the item table)
* ID => Item data
@@ -99,10 +99,10 @@ interface phpbb_tree_interface
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 bool $order_asc Order the items ascending (most outer ancestor first)
* @param int $item_id The item id the ancestors should be retrieved from
* @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
* @return array Array of items (containing all columns from the item table)
* ID => Item data
@@ -110,10 +110,10 @@ interface phpbb_tree_interface
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 bool $order_asc Order the items ascending
* @param int $item_id The item id the descendants should be retrieved from
* @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
* @return array Array of items (containing all columns from the item table)
* ID => Item data

View File

@@ -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:{}'),
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:{}'),
200 => array('forum_id' => 200, 'parent_id' => 0, 'user_id' => 0, 'left_id' => 0, 'right_id' => 0, 'forum_parents' => 'a:0:{}'),
);