Skip to content

Commit

Permalink
feat(#608): Removed an empty line above parseOptions. Used the fully …
Browse files Browse the repository at this point in the history
…qualified name for $args param
  • Loading branch information
telepathPiddlingAccent committed Jun 30, 2023
1 parent 05abc6d commit 73c3579
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Command/SnapshotTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ protected function refreshDump(Arguments $args, ConsoleIo $io)
$this->executeCommand(MigrationsDumpCommand::class, $newArgs, $io);
}


/**
* Will parse 'connection', 'plugin' and 'source' options into a new Array
*
* @param Arguments $args The command arguments.
* @param \Cake\Console\Arguments $args The command arguments.
* @return array Array containing the short for the option followed by its value
*/
protected function parseOptions(Arguments $args): array {
protected function parseOptions(Arguments $args): array
{
$newArgs = [];
if ($args->getOption('connection')) {
$newArgs[] = '-c';
Expand Down

0 comments on commit 73c3579

Please sign in to comment.