mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11257] Do not require set_name() method to exist
To use Service Collection PHPBB3-11257
This commit is contained in:
@@ -43,7 +43,7 @@ class phpbb_di_service_collection extends ArrayObject
|
||||
public function add($name)
|
||||
{
|
||||
$task = $this->container->get($name);
|
||||
$task->set_name($name);
|
||||
|
||||
$this->offsetSet($name, $task);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user