From ad5de23e6007f9de7871d82b85e8fad7eb8ff38e Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Fri, 12 Jan 2024 15:59:37 +1300 Subject: [PATCH] ENH Remove unnecessary @var comments --- 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',