Skip to content

Commit

Permalink
Fixed coding standard issues
Browse files Browse the repository at this point in the history
  • Loading branch information
divineniiquaye committed Aug 21, 2023
1 parent 3a88aae commit dc0b54c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/git-scm/src/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,8 @@ public function getExitCode(): int
/**
* Returns the number of concurrent git commands.
*/
public function getConcurrentRuns(): int {
public function getConcurrentRuns(): int
{
return $this->concurrency;
}

Expand Down Expand Up @@ -705,7 +706,7 @@ public function runConcurrent(array $commands, callable $callback = null, bool $
}

if (0 !== $this->exitCode) {
$this->logger->error(
$this->logger?->error(
\sprintf('Concurrent executed "%s/%s" successfully, but failed on "%s".', $this->concurrency, \count($commands), $process->getCommandLine()),
['error' => null]
);
Expand Down

0 comments on commit dc0b54c

Please sign in to comment.