From 1de5d9b89667fc299703ca49f695a1600c5a1fa6 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 4 Feb 2023 11:05:51 +0100 Subject: Add phpdoc --- src/Controllers/EntriesController.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/Controllers/EntriesController.php b/src/Controllers/EntriesController.php index f45866a..d9fdf1d 100644 --- a/src/Controllers/EntriesController.php +++ b/src/Controllers/EntriesController.php @@ -6,6 +6,13 @@ use Symfony\Component\Yaml\Yaml; class EntriesController { + /** + * Get the form's entries sorted by date + * + * @param string $formPath The path to the form + * + * @return array>>> The entries sorted by date array<$year, array<$month, array<$day, $entry[]>>> + */ public function getEntries(string $formPath): array { /**@var Utilities $utilities*/ -- cgit v1.2.3