Skip to content

Commit

Permalink
Fix issuses with config rework
Browse files Browse the repository at this point in the history
  • Loading branch information
smuggli authored and icanhazstring committed Feb 17, 2020
1 parent dcff9d7 commit c875eda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/autoload/purge-service.config.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

use duckpony\Console\Command\PurgeIssueFolderCommand;
use duckpony\Console\Command\PurgeIssueServiceCommand;

return [
PurgeIssueFolderCommand::class => [
PurgeIssueServiceCommand::class => [
'pattern' => '${instance_pattern}'
]
];
2 changes: 1 addition & 1 deletion src/Console/Command/PurgeIssueDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct(
FetchIssueUseCase $fetchIssueUseCase
) {
parent::__construct('issue:purge-db');
$this->config = $config->get(self::class);
$this->config = $config->get(PDO::class);
$this->fetchDatabasesByPatternUseCase = $fetchDatabasesByPatternUseCase;
$this->dropDatabaseUseCase = $dropDatabaseUseCase;
$this->fetchIssueUseCase = $fetchIssueUseCase;
Expand Down

0 comments on commit c875eda

Please sign in to comment.