mirror of
https://github.com/friendica/friendica
synced 2025-04-25 02:30:11 +00: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;
|
||||
use Friendica\Core\L10n\L10n;
|
||||
use Friendica\Core\Update;
|
||||
|
||||
|
@ -24,7 +24,7 @@ class PostUpdate extends \Asika\SimpleConsole\Console
|
|||
*/
|
||||
private $appMode;
|
||||
/**
|
||||
* @var Configuration
|
||||
* @var IConfiguration
|
||||
*/
|
||||
private $config;
|
||||
/**
|
||||
|
@ -46,7 +46,7 @@ HELP;
|
|||
return $help;
|
||||
}
|
||||
|
||||
public function __construct(App\Mode $appMode, Configuration $config, L10n $l10n, array $argv = null)
|
||||
public function __construct(App\Mode $appMode, IConfiguration $config, L10n $l10n, array $argv = null)
|
||||
{
|
||||
parent::__construct($argv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue