From 283088d8f883656433b201ccc52c87e8fedfd1f8 Mon Sep 17 00:00:00 2001 From: Dave Redfern Date: Mon, 26 Apr 2021 11:10:23 -0400 Subject: [PATCH] Fix bug in create service command --- src/Commands/Services/CreateServiceCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Services/CreateServiceCommand.php b/src/Commands/Services/CreateServiceCommand.php index 699693e..484faea 100644 --- a/src/Commands/Services/CreateServiceCommand.php +++ b/src/Commands/Services/CreateServiceCommand.php @@ -98,7 +98,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $cwd = $_SERVER['PROJECT_SERVICES_DIR'] . DIRECTORY_SEPARATOR . $name; - $project->services()->add(new Service($name, $name, null, $container, $dependencies)); + $project->services()->add(new Service($name, $name, null, null, $container, $dependencies)); switch (true): case $template->isGitResource():