diff --git a/system/src/Grav/Console/Cli/InstallCommand.php b/system/src/Grav/Console/Cli/InstallCommand.php index eca0ff5b4..01a98276b 100644 --- a/system/src/Grav/Console/Cli/InstallCommand.php +++ b/system/src/Grav/Console/Cli/InstallCommand.php @@ -23,9 +23,6 @@ class InstallCommand extends ConsoleCommand /** @var array */ protected $config; - /** @var array */ - protected $local_config; - /** @var string */ protected $destination; diff --git a/system/src/Grav/Console/ConsoleTrait.php b/system/src/Grav/Console/ConsoleTrait.php index 954995f50..1bb93a352 100644 --- a/system/src/Grav/Console/ConsoleTrait.php +++ b/system/src/Grav/Console/ConsoleTrait.php @@ -146,6 +146,7 @@ trait ConsoleTrait $file = YamlFile::instance($local_config_file); $this->local_config = $file->content(); $file->free(); + return $local_config_file; } diff --git a/system/src/Grav/Console/Gpm/InstallCommand.php b/system/src/Grav/Console/Gpm/InstallCommand.php index fc2ad4755..31a1af6a1 100644 --- a/system/src/Grav/Console/Gpm/InstallCommand.php +++ b/system/src/Grav/Console/Gpm/InstallCommand.php @@ -49,9 +49,6 @@ class InstallCommand extends ConsoleCommand /** @var string */ protected $tmp; - /** @var array */ - protected $local_config; - /** @var bool */ protected $use_symlinks;