Skip to content

Commit 6e4c45d

Browse files
committed
Merge branch 'cleanup_install_comamnd' into cleanup_application_detector
2 parents 3b97a9b + 82229e2 commit 6e4c45d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.ai/pest/core.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Pest Tests
55
- All tests must be written using Pest.
66
- You must not remove any tests or test files from the tests directory without approval. These are not temporary or helper files, these are core to the application.
7-
- Tests should test all of the the unhappy paths, happy paths, and weird paths.
7+
- Tests should test all of the unhappy paths, happy paths, and weird paths.
88
- Tests live in the `tests/Feature` and `tests/Unit` directories.
99
- Pest tests look and behave like this:
1010
<code-snippet lang="php">

src/Console/InstallCommand.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ class InstallCommand extends Command
4141
private Terminal $terminal;
4242

4343
/** @var Collection<int, \Laravel\Boost\Contracts\Agent> */
44-
private Collection $agentsToInstallTo = collect();
44+
private Collection $agentsToInstallTo;
4545

4646
/** @var Collection<int, \Laravel\Boost\Contracts\Ide> */
47-
private Collection $idesToInstallTo = collect();
47+
private Collection $idesToInstallTo;
4848

4949
private Collection $boostToInstall;
5050

@@ -89,6 +89,9 @@ private function bootstrapBoost(CodeEnvironmentsDetector $codeEnvironmentsDetect
8989
$this->greenTick = $this->green('');
9090
$this->redCross = $this->red('');
9191

92+
$this->agentsToInstallTo = collect();
93+
$this->idesToInstallTo = collect();
94+
9295
$this->projectName = basename(base_path());
9396
}
9497

0 commit comments

Comments
 (0)