Ensure explode is passed a string and not null

Passing `null` to `explode()` is deprecated.
This commit is contained in:
Oliver Davies 2024-02-23 16:15:41 +00:00
parent 14fbbec987
commit 52d933bc5e
3 changed files with 5 additions and 5 deletions

View file

@ -31,7 +31,7 @@ final class InstallCommand extends AbstractCommand
language: $language,
workingDir: $workingDir,
),
extraArgs: explode(separator: ' ', string: $extraArgs),
extraArgs: explode(separator: ' ', string: strval($extraArgs)),
workingDir: $workingDir,
);