summaryrefslogtreecommitdiff
path: root/src/Controllers
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-02-04 11:05:51 +0100
committerDaniel Weipert <code@drogueronin.de>2023-02-04 11:59:02 +0100
commit1de5d9b89667fc299703ca49f695a1600c5a1fa6 (patch)
treeadbf3a813b74945060ed53201dfc785ab52cedf6 /src/Controllers
parent592d88077deae5f74fce452e0e256b430349a92b (diff)
Add phpdoc
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*/