Skip to content

Commit 69f0c79

Browse files
committed
Fix type error if no response given to start deps
1 parent 30ef40e commit 69f0c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Services/StartCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private function handleServiceDependencies(Service $service): void
177177
$this->tools()->input()->setOption('with-deps', $deps);
178178
}
179179

180-
if (strtolower(trim($deps)) === 'y') {
180+
if (!is_null($deps) && strtolower(trim($deps)) === 'y') {
181181
$service->dependencies()->each(fn ($name) => $this->startService($name));
182182
}
183183
}

0 commit comments

Comments
 (0)