mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 11:13:59 +02:00
[ticket/12090] Move find() call to container and fix tests
PHPBB3-12090
This commit is contained in:
@@ -109,6 +109,8 @@ services:
|
||||
class: phpbb\controller\provider
|
||||
arguments:
|
||||
- @ext.finder
|
||||
calls:
|
||||
- [find, [%core.root_path%]]
|
||||
|
||||
cron.task_collection:
|
||||
class: phpbb\di\service_collection
|
||||
|
@@ -66,7 +66,7 @@ class helper
|
||||
$this->config = $config;
|
||||
$this->phpbb_root_path = $phpbb_root_path;
|
||||
$this->php_ext = $php_ext;
|
||||
$this->route_collection = $provider->find($this->phpbb_root_path)->get_routes();
|
||||
$this->route_collection = $provider->get_routes();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user