mirror of
https://github.com/friendica/friendica
synced 2025-04-28 13:04:23 +02:00
Creating interfaces for Config/PConfig & fix tests
This commit is contained in:
parent
4835f1185f
commit
c1dbb25656
54 changed files with 349 additions and 285 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue