X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FTypo.php;h=1397f6092fa97f7b39d29ff90673ad90e5b83562;hb=077c6ece64bf13ced32f9ec690308cee90457d07;hp=a0b6e3691ce477971cd5b97035fd95f88a2fa4ea;hpb=3c76826793feeb933dab7a07dab7cc7eb2efc451;p=friendica.git diff --git a/src/Console/Typo.php b/src/Console/Typo.php index a0b6e3691c..1397f6092f 100644 --- a/src/Console/Typo.php +++ b/src/Console/Typo.php @@ -1,21 +1,38 @@ . + * + */ namespace Friendica\Console; -use Friendica\Core\Config\IConfiguration; +use Friendica\Core\Config\Capability\IManageConfigValues; /** * Tired of chasing typos and finding them after a commit. * Run this and quickly see if we've got any parse errors in our application files. - * - * @author Hypolite Petovan */ class Typo extends \Asika\SimpleConsole\Console { protected $helpOptions = ['h', 'help', '?']; /** - * @var IConfiguration + * @var IManageConfigValues */ private $config; @@ -36,7 +53,7 @@ HELP; return $help; } - public function __construct(IConfiguration $config, array $argv = null) + public function __construct(IManageConfigValues $config, array $argv = null) { parent::__construct($argv);