summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2017-11-20 17:14:39 (GMT)
committerJon Pugh2017-11-20 17:14:39 (GMT)
commitcbd9cc0b3c7d745dc795aca1c86bfde17a3ef639 (patch)
tree4203f41277e82ce04f5bdad6a759782f4ca02d43
parentf1776c5aa189adcf30ce77b4d2c4e05cdc64e375 (diff)
Pass correct object to new Class.
-rw-r--r--src/Command/SaveCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command/SaveCommand.php b/src/Command/SaveCommand.php
index a303963..a54da22 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.