Skip to content

Commit

Permalink
Merge branch '7.x' into 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Aug 29, 2023
2 parents 63b2670 + 643262e commit d25fe61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Presets/Preset.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public function __construct(
/**
* Add global command.
*
* @param class-string<\Symfony\Component\Console\Command\Command> $generator
* @param array<int, class-string<\Symfony\Component\Console\Command\Command>> $generators
* @return void
*/
public static function addCommand(string $generator): void
public static function commands(array $generators): void
{
static::$generators[] = $generator;
static::$generators = array_merge(static::$generators, $generators);
}

/**
Expand Down

0 comments on commit d25fe61

Please sign in to comment.