ENH Add generic types (#79)

This commit is contained in:
Guy Sartorelli 2024-01-18 10:21:43 +13:00 committed by GitHub
parent e504a22c35
commit 9dbd01e704
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,10 @@ namespace {
use SilverStripe\CMS\Controllers\ContentController; use SilverStripe\CMS\Controllers\ContentController;
/**
* @template T of Page
* @extends ContentController<T>
*/
class PageController extends ContentController class PageController extends ContentController
{ {
/** /**