Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Apr 12, 2022
1 parent 3199f22 commit bad8873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/CliCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ private function showLegacyOutput(?string $echoContent): void
$echoContent = $echoContent ?: '';

$lines = \explode("\n", $echoContent);
$lines = array_map(static function ($line) {
$lines = \array_map(static function ($line) {
return \rtrim($line);
}, $lines);

Expand Down
4 changes: 2 additions & 2 deletions src/CliHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ public function _($messages = '', string $verboseLevel = self::VERB_DEFAULT): vo
return;
}

if (is_null($messages)) {
if (\is_null($messages)) {
$messages = 'null';
} elseif (is_bool($messages)) {
} elseif (\is_bool($messages)) {
$messages = $messages ? 'true' : 'false';
}

Expand Down

0 comments on commit bad8873

Please sign in to comment.