Skip to content

Commit

Permalink
ENH Add generic types (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Jan 18, 2024
1 parent 0d7cf5f commit 00ca457
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
5 changes: 2 additions & 3 deletions src/Model/SitewideContentReview.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<SitewideContentReport>
*/
class SitewideContentReview extends Extension
{
Expand Down
7 changes: 3 additions & 4 deletions src/Model/SitewideContentSubsites.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<SitewideContentReport|GridFieldBasicContentReport>
*/
class SitewideContentSubsites extends Extension
{
Expand Down
6 changes: 2 additions & 4 deletions src/Model/SitewideContentTaxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<SitewideContentReport>
*/
class SitewideContentTaxonomy extends Extension
{
Expand Down

0 comments on commit 00ca457

Please sign in to comment.