From 00ca45728cc07f06c51c5fb0238b9b9dbf74785d Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Fri, 19 Jan 2024 10:35:38 +1300 Subject: [PATCH] ENH Add generic types (#76) --- src/Model/SitewideContentReview.php | 5 ++--- src/Model/SitewideContentSubsites.php | 7 +++---- src/Model/SitewideContentTaxonomy.php | 6 ++---- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/Model/SitewideContentReview.php b/src/Model/SitewideContentReview.php index beb7021..fb5d0e9 100644 --- a/src/Model/SitewideContentReview.php +++ b/src/Model/SitewideContentReview.php @@ -3,13 +3,12 @@ namespace SilverStripe\SiteWideContentReport\Model; use SilverStripe\Core\Extension; +use SilverStripe\SiteWideContentReport\SitewideContentReport; /** * Provides contentreview integration for sitewide content report. * - * Requires https://github.com/silverstripe/silverstripe-contentreview - * Class SitewideContentReview - * @package SilverStripe\SiteWideContentReport\Model + * @extends Extension */ class SitewideContentReview extends Extension { diff --git a/src/Model/SitewideContentSubsites.php b/src/Model/SitewideContentSubsites.php index b295bed..bfe1fdf 100644 --- a/src/Model/SitewideContentSubsites.php +++ b/src/Model/SitewideContentSubsites.php @@ -3,15 +3,14 @@ namespace SilverStripe\SiteWideContentReport\Model; use SilverStripe\Core\Extension; +use SilverStripe\SiteWideContentReport\Form\GridFieldBasicContentReport; +use SilverStripe\SiteWideContentReport\SitewideContentReport; use SilverStripe\Subsites\Model\Subsite; /** * Provides subsite integration for sitewide content report. * - * Requires https://github.com/silverstripe/silverstripe-subsites - * - * Class SitewideContentSubsites - * @package SilverStripe\SiteWideContentReport\Model + * @extends Extension */ class SitewideContentSubsites extends Extension { diff --git a/src/Model/SitewideContentTaxonomy.php b/src/Model/SitewideContentTaxonomy.php index bf61f3a..e846b8c 100644 --- a/src/Model/SitewideContentTaxonomy.php +++ b/src/Model/SitewideContentTaxonomy.php @@ -4,15 +4,13 @@ use SilverStripe\Core\Config\Config; use SilverStripe\Core\Extension; +use SilverStripe\SiteWideContentReport\SitewideContentReport; use SilverStripe\Taxonomy\TaxonomyTerm; /** * Provides taxonomy integration for sitewide content report. * - * Requires https://github.com/silverstripe-labs/silverstripe-taxonomy - * - * Class SitewideContentTaxonomy - * @package SilverStripe\SiteWideContentReport\Model + * @extends Extension */ class SitewideContentTaxonomy extends Extension {