From 56b5db06284391e014af95bea8c400abf819f09f Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 24 Jan 2024 09:41:02 +1300 Subject: [PATCH] MNT Remove unnecessary @var comments (#152) --- code/SiteConfig.php | 1 - code/SiteConfigLeftAndMain.php | 1 - 2 files changed, 2 deletions(-) diff --git a/code/SiteConfig.php b/code/SiteConfig.php index d66f3b7ec..e7e99adb4 100644 --- a/code/SiteConfig.php +++ b/code/SiteConfig.php @@ -336,7 +336,6 @@ public function CMSEditLink() */ public static function current_site_config() { - /** @var SiteConfig $siteConfig */ $siteConfig = DataObject::get_one(SiteConfig::class); if (!$siteConfig) { $siteConfig = self::make_site_config(); diff --git a/code/SiteConfigLeftAndMain.php b/code/SiteConfigLeftAndMain.php index 1b299c3f2..d25639ba8 100644 --- a/code/SiteConfigLeftAndMain.php +++ b/code/SiteConfigLeftAndMain.php @@ -93,7 +93,6 @@ public function getEditForm($id = null, $fields = null) $actions = $siteConfig->getCMSActions(); $negotiator = $this->getResponseNegotiator(); - /** @var Form $form */ $form = Form::create( $this, 'EditForm',