Skip to content

Commit

Permalink
Changed Command::SUCCESS to self::SUCCESS
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Jul 23, 2024
1 parent da7e598 commit cf4d182
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/bundle/Command/CreateExampleDataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function execute(InputInterface $input, OutputInterface $output): int
$this->logger->log(LogLevel::INFO, $statsEnd);
$output->writeln($statsEnd);

return Command::SUCCESS;
return self::SUCCESS;
}

private function parseInputData(string $serializedTransitionEvent): InitialEvent
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Command/CreateExampleDataManagerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function execute(InputInterface $input, OutputInterface $output): int
$event = $this->stopwatch->stop('timer');
$output->writeln(sprintf('Duration: %d s, memory: %s MB', $event->getDuration() / 1000, $event->getMemory() / 1024 / 1024));

return Command::SUCCESS;
return self::SUCCESS;
}

private function executeCommand(OutputInterface $output, $cmd, float $timeout = 1200)
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Command/CreateLanguageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int

$this->languageService->createLanguage($languageCreateStruct);

return Command::SUCCESS;
return self::SUCCESS;
}
}
2 changes: 1 addition & 1 deletion src/bundle/Command/TestSiteaccessCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
{
$output->writeln($this->siteaccess->name);

return Command::SUCCESS;
return self::SUCCESS;
}
}

0 comments on commit cf4d182

Please sign in to comment.