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 #102

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

GuySartorelli
Copy link
Member

Requires silverstripe/silverstripe-framework#11108 and the corresponding silverstripe/cms PR for these generics to take effect.

Issue

@@ -17,6 +17,9 @@
* Class TaxonomyDirectoryController
*
* Controller for returning a list of pages tagged with a specific Taxonomy Term
*
* @template T
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need @template T here? Seems like we're not using it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops nope. Removed it.
I think I was originally adding it because this is a page controller - but then noticed that this controller isn't meant to be subclassed so didn't use it (and forgot to remove it)

@emteknetnz emteknetnz merged commit 336d1c7 into silverstripe:3 Jan 23, 2024
11 checks passed
@emteknetnz emteknetnz deleted the pulls/3/add-generics branch January 23, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants