-
Notifications
You must be signed in to change notification settings - Fork 26
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 #336
ENH Add generic types #336
Conversation
use SilverStripe\Control\Email\Email; | ||
use SilverStripe\Core\Extension; | ||
use SilverStripe\Forms\Form; | ||
|
||
/** | ||
* Customises the comment form to conform to government usability standards | ||
* | ||
* {@see CommentingController} | ||
* @extends DataExtension<CommentingController> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @extends DataExtension<CommentingController> | |
* @extends Extension<CommentingController> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -16,6 +16,8 @@ | |||
* | |||
* When the user clicks on a month, pagination will be reset, but tags retained. Pagination retains all other | |||
* parameters. | |||
* | |||
* @extends DatedUpdateHolderController<NewsHolder> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @extends DatedUpdateHolderController<NewsHolder> | |
* @extends DatedUpdateHolderController<EventHolder> |
? I'm not sure if this is correct or not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! Yup good catch. That was a copy paste error.
Fixed.
ef8aa04
to
0f4ac01
Compare
Requires silverstripe/silverstripe-framework#11108 and the corresponding silverstripe/cms PR for these generics to take effect.
Issue