Skip to content

Commit

Permalink
Upgrade coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Aug 23, 2024
1 parent e521e16 commit 63ef786
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"require-dev": {
"ext-xdebug": "*",
"aplus/coding-standard": "^2.1",
"aplus/coding-standard": "^2.8",
"aplus/testing": "^3.0",
"ergebnis/composer-normalize": "^2.26",
"phpmd/phpmd": "^2.12",
Expand Down
2 changes: 1 addition & 1 deletion src/AbstractMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ abstract class AbstractMigration extends Command
protected string $migratorInstance = 'default';
protected string $group = 'Migrations';

protected function runMigration(string $direction, int | string $arg = null) : void
protected function runMigration(string $direction, int | string | null $arg = null) : void
{
// @phpstan-ignore-next-line
$this->migratorInstance = $this->getConsole()->getOption('instance') ?? 'default';
Expand Down

0 comments on commit 63ef786

Please sign in to comment.