1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

[feature/dic] Fix test suite for dic-powered cron

PHPBB3-10739
This commit is contained in:
Igor Wiedler
2012-04-09 15:05:28 +02:00
parent 0a5348a137
commit 3ebe89cb7e
9 changed files with 74 additions and 33 deletions

View File

@@ -15,7 +15,7 @@ if (!defined('IN_PHPBB'))
exit;
}
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\TaggedContainerInterface;
/**
* Provides cron manager with tasks
@@ -28,7 +28,7 @@ class phpbb_cron_task_provider implements IteratorAggregate
{
private $container;
public function __construct(Container $container)
public function __construct(TaggedContainerInterface $container)
{
$this->container = $container;
}