summaryrefslogtreecommitdiff
path: root/src/web/core/_model.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/core/_model.php')
-rw-r--r--src/web/core/_model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/core/_model.php b/src/web/core/_model.php
index 936fab4..dfc7163 100644
--- a/src/web/core/_model.php
+++ b/src/web/core/_model.php
@@ -24,7 +24,7 @@ abstract class Model {
/**
* @returns the base model data
*/
- public function get_data(): array {
+ public function get_data(): ?array {
$data = array();
$data['self'] = $this->main->user();