mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Use ::class notation where possible
This commit is contained in:
parent
d1d56fbe25
commit
98af2e25f2
52 changed files with 347 additions and 250 deletions
|
@ -52,7 +52,7 @@ class RedisWorkerCommandTest extends WallabagCoreTestCase
|
|||
$application->add(new RedisWorkerCommand());
|
||||
|
||||
$factory = new RedisMockFactory();
|
||||
$redisMock = $factory->getAdapter('Predis\Client', true);
|
||||
$redisMock = $factory->getAdapter(Client::class, true);
|
||||
|
||||
$application->getKernel()->getContainer()->set(Client::class, $redisMock);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue