summaryrefslogtreecommitdiff
path: root/src/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'src/Controllers')
-rw-r--r--src/Controllers/EntriesController.php7
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*/