1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

[ticket/11495] Use array directly instead of phpbb_nestedset_item_interface

PHPBB3-11495
This commit is contained in:
Joas Schilling
2013-04-18 00:13:19 +02:00
parent 5c379db085
commit 8c3443ba99
3 changed files with 97 additions and 103 deletions

View File

@@ -67,7 +67,7 @@ class phpbb_nestedset_forum extends phpbb_nestedset_base
/**
* @inheritdoc
*/
public function move_children(phpbb_nestedset_item_interface $current_parent, phpbb_nestedset_item_interface $new_parent)
public function move_children(array $current_parent, array $new_parent)
{
while (!$this->lock->acquire())
{
@@ -92,7 +92,7 @@ class phpbb_nestedset_forum extends phpbb_nestedset_base
/**
* @inheritdoc
*/
public function set_parent(phpbb_nestedset_item_interface $item, phpbb_nestedset_item_interface $new_parent)
public function set_parent(array $item, array $new_parent)
{
while (!$this->lock->acquire())
{