mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 15:23:12 +08:00
Replaced more ussages of AnnotatedFactory by ConfigAbstractFactory
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
namespace Shlinkio\Shlink\Core\Middleware;
|
||||
|
||||
use Acelaya\ZsmAnnotatedServices\Annotation\Inject;
|
||||
use Doctrine\Common\Cache\Cache;
|
||||
use Interop\Http\ServerMiddleware\DelegateInterface;
|
||||
use Interop\Http\ServerMiddleware\MiddlewareInterface;
|
||||
@@ -16,12 +15,6 @@ class QrCodeCacheMiddleware implements MiddlewareInterface
|
||||
*/
|
||||
private $cache;
|
||||
|
||||
/**
|
||||
* QrCodeCacheMiddleware constructor.
|
||||
* @param Cache $cache
|
||||
*
|
||||
* @Inject({Cache::class})
|
||||
*/
|
||||
public function __construct(Cache $cache)
|
||||
{
|
||||
$this->cache = $cache;
|
||||
|
||||
Reference in New Issue
Block a user