Skip to content

Commit

Permalink
Small code style fix in SetupCheckManager
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Oct 19, 2023
1 parent 2e4d154 commit a3cc3b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/private/SetupCheck/SetupCheckManager.php
Expand Up @@ -48,9 +48,7 @@ public function runAll(): array {
$this->logger->debug('Running check '.get_class($setupCheckObject));
$setupResult = $setupCheckObject->run();
$category = $setupCheckObject->getCategory();
if (!isset($results[$category])) {
$results[$category] = [];
}
$results[$category] ??= [];
$results[$category][$setupCheckObject->getName()] = $setupResult;
}
return $results;
Expand Down

0 comments on commit a3cc3b1

Please sign in to comment.