From a42be22b2798c3215a6a4869bf5a4f38d7c4c0ed Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Tue, 23 Jan 2024 13:04:39 +1300 Subject: [PATCH] ENH Add generic types (#90) --- src/RegistryImportFeed.php | 2 +- src/RegistryPageController.php | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/RegistryImportFeed.php b/src/RegistryImportFeed.php index 9c2e936..0fb0709 100644 --- a/src/RegistryImportFeed.php +++ b/src/RegistryImportFeed.php @@ -108,7 +108,7 @@ public function getStoragePath($modelClass = null) /** * Loop import files in the storage path and push them into an {@link ArrayList} * - * @return ArrayList + * @return ArrayList */ public function getImportFiles() { diff --git a/src/RegistryPageController.php b/src/RegistryPageController.php index b498dd7..8f89cfc 100644 --- a/src/RegistryPageController.php +++ b/src/RegistryPageController.php @@ -18,6 +18,9 @@ use SilverStripe\View\ArrayData; use SilverStripe\View\ViewableData; +/** + * @extends PageController + */ class RegistryPageController extends PageController { private static $allowed_actions = [ @@ -203,7 +206,7 @@ public function canSortBy($property) * Format a set of columns, used for headings and row data * * @param int $id The result ID to reference - * @return ArrayList + * @return ArrayList * @throws RegistryException If parameters are used in column names */ public function Columns($id = null)