X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FTypo.php;h=8935a86c17b7acc3e7706f6ae2766b8557a1bf1c;hb=a213619365c8557e008f8f155114b1f58a5037f4;hp=855c1705c2e19fc33924110436aade1b699bdf63;hpb=e8459cce3419f7aecdf41c8164bcd37761fc80e8;p=friendica.git diff --git a/src/Console/Typo.php b/src/Console/Typo.php index 855c1705c2..8935a86c17 100644 --- a/src/Console/Typo.php +++ b/src/Console/Typo.php @@ -1,21 +1,38 @@ . + * + */ namespace Friendica\Console; -use Friendica\Core\Config\Configuration; +use Friendica\Core\Config\IConfig; /** * 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 Configuration + * @var IConfig */ private $config; @@ -36,7 +53,7 @@ HELP; return $help; } - public function __construct(Configuration $config, array $argv = null) + public function __construct(IConfig $config, array $argv = null) { parent::__construct($argv);