Skip to content

Commit 1f3530c

Browse files
committed
fix(core): fixing an issue where the application would not bootstrap due to inconsistent type definitions in Bootstrap::start.
1 parent 915282b commit 1f3530c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lib/Core/Bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static function initialize(string $fileName):Result {
4949
* @param array<string> $libraries libraries to load
5050
* @param array<string> $resources resources to load
5151
* @param string $environment environment to load
52-
* @param string $wait if true, the application will hang when it terminates
52+
* @param bool $wait if true, the application will hang when it terminates
5353
* @return void
5454
*/
5555
public static function start(
@@ -58,7 +58,7 @@ public static function start(
5858
array $libraries,
5959
array $resources,
6060
string $environment,
61-
string $wait,
61+
bool $wait,
6262
):void {
6363
try {
6464
foreach ($libraries as $library) {

src/lib/Core/Commands/ApplicationBundledCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function run(CommandContext $context):Result {
6969
libraries: $libraries,
7070
resources: $resources,
7171
environment: $environment,
72-
dieOnStdin: false
72+
wait: false
7373
);
7474

7575
return ok();

0 commit comments

Comments
 (0)