mirror of
https://github.com/friendica/friendica
synced 2025-04-24 15:10: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\Core;
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config\Configuration;
|
||||
use Friendica\Core\Config\IConfiguration;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
/**
|
||||
|
@ -28,7 +28,7 @@ final class Process
|
|||
private $mode;
|
||||
|
||||
/**
|
||||
* @var Configuration
|
||||
* @var IConfiguration
|
||||
*/
|
||||
private $config;
|
||||
|
||||
|
@ -37,7 +37,7 @@ final class Process
|
|||
*/
|
||||
private $basePath;
|
||||
|
||||
public function __construct(LoggerInterface $logger, App\Mode $mode, Configuration $config, string $basepath)
|
||||
public function __construct(LoggerInterface $logger, App\Mode $mode, IConfiguration $config, string $basepath)
|
||||
{
|
||||
$this->logger = $logger;
|
||||
$this->mode = $mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue