Creating interfaces for Config/PConfig & fix tests
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace Friendica\Console;
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config\Configuration;
|
||||
use Friendica\Core\Config\IConfiguration;
|
||||
|
||||
/**
|
||||
* @brief Sets maintenance mode for this node
|
||||
@@ -19,7 +19,7 @@ class Maintenance extends \Asika\SimpleConsole\Console
|
||||
*/
|
||||
private $appMode;
|
||||
/**
|
||||
* @var Configuration
|
||||
* @var IConfiguration
|
||||
*/
|
||||
private $config;
|
||||
|
||||
@@ -52,7 +52,7 @@ HELP;
|
||||
return $help;
|
||||
}
|
||||
|
||||
public function __construct(App\Mode $appMode, Configuration $config, $argv = null)
|
||||
public function __construct(App\Mode $appMode, IConfiguration $config, $argv = null)
|
||||
{
|
||||
parent::__construct($argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user