Updated dependencies

This commit is contained in:
Alejandro Celaya
2019-11-30 17:21:36 +01:00
parent 5d76a55c46
commit e558bb17cb
11 changed files with 42 additions and 53 deletions

View File

@@ -9,7 +9,7 @@ use GeoIp2\Database\Reader;
use Shlinkio\Shlink\CLI\Exception\GeolocationDbUpdateFailedException;
use Shlinkio\Shlink\IpGeolocation\Exception\RuntimeException;
use Shlinkio\Shlink\IpGeolocation\GeoLite2\DbUpdaterInterface;
use Symfony\Component\Lock\Factory as Locker;
use Symfony\Component\Lock\LockFactory;
class GeolocationDbUpdater implements GeolocationDbUpdaterInterface
{
@@ -19,10 +19,10 @@ class GeolocationDbUpdater implements GeolocationDbUpdaterInterface
private $dbUpdater;
/** @var Reader */
private $geoLiteDbReader;
/** @var Locker */
/** @var LockFactory */
private $locker;
public function __construct(DbUpdaterInterface $dbUpdater, Reader $geoLiteDbReader, Locker $locker)
public function __construct(DbUpdaterInterface $dbUpdater, Reader $geoLiteDbReader, LockFactory $locker)
{
$this->dbUpdater = $dbUpdater;
$this->geoLiteDbReader = $geoLiteDbReader;