Skip to content

Commit

Permalink
refactor: PHPStan code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Apr 28, 2024
1 parent 696802b commit 57d172e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Typogrify.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -29,7 +28,6 @@
* @since 1.0.0
*
* @property Settings $settings
* @property TypogrifyService $typogrify
*/
class Typogrify extends Plugin
{
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit 57d172e

Please sign in to comment.