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',