Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into upgrade/php-8.3
Browse files Browse the repository at this point in the history
peterfox authored Nov 30, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 7ed069c + 1d076c0 commit 9eecb48
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FeatureFlagsServiceProvider.php
Original file line number Diff line number Diff line change
@@ -149,7 +149,7 @@ protected function aboutCommandInfo(): void
{
if (class_exists(AboutCommand::class)) {
AboutCommand::add('Feature Flags', [
'Pipeline' => fn () => implode(', Hello', config('features.pipeline')),
'Pipeline' => fn () => implode(', ', config('features.pipeline')),
]);
}
}
6 changes: 5 additions & 1 deletion src/Support/MaintenanceRepository.php
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ class MaintenanceRepository implements Maintenance
{
public array $scenarios = [];

public ?MaintenanceScenario $foundScenario = null;
public MaintenanceScenario|null|false $foundScenario = false;
protected \Closure $uponActivation;
protected \Closure $uponDeactivation;

@@ -65,6 +65,10 @@ public function active(): bool

public function parameters(): ?array
{
if ($this->foundScenario === false) {
$this->findScenario();
}

return $this->foundScenario?->toArray();
}

0 comments on commit 9eecb48

Please sign in to comment.