Skip to content

Commit aa983f2

Browse files
committed
Issue #48: src/Command/GeoIpCommand.php: Make public
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
1 parent 915e303 commit aa983f2

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/Command/GeoIpCommand.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@
3333
)]
3434
class GeoIpCommand extends Command
3535
{
36-
protected LocationServiceInterface $locationService;
3736
/** @var string $defaultName */
38-
protected static $defaultName = 'geoip:synchronize';
37+
public static $defaultName = 'geoip:synchronize';
3938

40-
public function __construct(LocationServiceInterface $locationService)
41-
{
39+
public function __construct(
40+
protected LocationServiceInterface $locationService,
41+
) {
4242
parent::__construct(self::$defaultName);
43-
$this->locationService = $locationService;
4443
}
4544

4645
public function configure(): void

0 commit comments

Comments
 (0)