Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH Add generic types #76

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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