diff --git a/src/Command/SaveCommand.php b/src/Command/SaveCommand.php index a30396352e191473d59cf9e959d0edd6d267f2f4..a54da2296f6863cf1745098c1b8906b12282659d 100644 --- a/src/Command/SaveCommand.php +++ b/src/Command/SaveCommand.php @@ -172,7 +172,7 @@ class SaveCommand extends Command $properties = $this->askForContextProperties(); $class = Context::getClassName($this->input->getOption('context_type')); - $this->context = new $class($input->getArgument('context_name'), $this->getApplication(), $properties); + $this->context = new $class($input->getArgument('context_name'), $this->getProvision(), $properties); } // Delete context config.