diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-02-04 11:05:51 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-02-04 11:59:02 +0100 |
commit | 1de5d9b89667fc299703ca49f695a1600c5a1fa6 (patch) | |
tree | adbf3a813b74945060ed53201dfc785ab52cedf6 /src | |
parent | 592d88077deae5f74fce452e0e256b430349a92b (diff) |
Add phpdoc
Diffstat (limited to 'src')
-rw-r--r-- | src/Controllers/EntriesController.php | 7 |
1 files changed, 7 insertions, 0 deletions
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<string, array<string, array<string, array<int, Entry[]>>>> The entries sorted by date array<$year, array<$month, array<$day, $entry[]>>> + */ public function getEntries(string $formPath): array { /**@var Utilities $utilities*/ |