diff --git a/bin/split-repo.php b/bin/split-repo.php index 694ea1d8..314c0c0b 100644 --- a/bin/split-repo.php +++ b/bin/split-repo.php @@ -16,9 +16,9 @@ public function entry(): int { return match (true) { - 'validate' === $this->CMD => $this->validate(), - 'realize' === $this->CMD => $this->realise(), - default => 0, + 'validate' === $this->CMD => $this->validate(), + 'realise' === $this->CMD => $this->realise(), + default => 0, }; } @@ -99,6 +99,8 @@ public function validate(): int * Update Composer pacakge version by compire with current verstion. * * @param string[] $packages + * + * @return array */ public function updateComposerVersion(string $path, array $packages, string $version): array {