Skip to content

Commit

Permalink
fixup! fix(install): Make installing more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvergessen committed Oct 31, 2023
1 parent eedff48 commit 57312a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
5 changes: 1 addition & 4 deletions lib/private/Migration/ConsoleOutput.php
Expand Up @@ -44,10 +44,7 @@ public function __construct(OutputInterface $output) {
$this->output = $output;
}

/**
* @param string $message
*/
public function debug($message) {
public function debug(string $message): void {
$this->output->writeln($message);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/private/Migration/SimpleOutput.php
Expand Up @@ -41,7 +41,7 @@ public function __construct(LoggerInterface $logger, $appName) {
$this->appName = $appName;
}

public function debug($message) {
public function debug(string $message): void {
$this->logger->debug($message, ['app' => $this->appName]);
}

Expand Down
5 changes: 1 addition & 4 deletions lib/private/Repair.php
Expand Up @@ -246,10 +246,7 @@ public static function getBeforeUpgradeRepairSteps() {
return $steps;
}

/**
* @param string $message
*/
public function debug($message) {
public function debug(string $message): void {
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/public/Migration/IOutput.php
Expand Up @@ -34,7 +34,7 @@ interface IOutput {
* @return void
* @since 28.0.0
*/
public function debug($message);
public function debug(string $message): void;

/**
* @param string $message
Expand Down

0 comments on commit 57312a5

Please sign in to comment.