From 57d172ef34ab8b02d02ff88f5c1bf59222909288 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Sun, 28 Apr 2024 16:01:38 -0400 Subject: [PATCH] refactor: PHPStan code cleanup --- src/Typogrify.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/Typogrify.php b/src/Typogrify.php index 62d6a45..60cedce 100644 --- a/src/Typogrify.php +++ b/src/Typogrify.php @@ -16,7 +16,6 @@ use craft\web\twig\variables\CraftVariable; use nystudio107\typogrify\models\Settings; use nystudio107\typogrify\services\ServicesTrait; -use nystudio107\typogrify\services\TypogrifyService; use nystudio107\typogrify\twigextensions\TypogrifyTwigExtension; use nystudio107\typogrify\variables\TypogrifyVariable; use yii\base\Event; @@ -29,7 +28,6 @@ * @since 1.0.0 * * @property Settings $settings - * @property TypogrifyService $typogrify */ class Typogrify extends Plugin { @@ -71,18 +69,6 @@ class Typogrify extends Plugin // Public Methods // ========================================================================= - /** - * @inheritdoc - */ - public function __construct($id, $parent = null, array $config = []) - { - $config['components'] = [ - 'typogrify' => TypogrifyService::class, - ]; - - parent::__construct($id, $parent, $config); - } - /** * @inheritdoc */