aboutsummaryrefslogtreecommitdiff
path: root/app/class/Dbitem.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-28 14:20:10 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-28 20:21:34 +0200
commit98514a4e0037aa0879e45bbad660aeda8837c624 (patch)
treea574e7cf6a53150e1d960fc9b4520a49567b04bd /app/class/Dbitem.php
parentcba95c5eb19a33654a6f0995c6f9e0885b7afc20 (diff)
downloadwcms-98514a4e0037aa0879e45bbad660aeda8837c624.tar.gz
wcms-98514a4e0037aa0879e45bbad660aeda8837c624.zip
add session as controller var
Diffstat (limited to 'app/class/Dbitem.php')
-rw-r--r--app/class/Dbitem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Dbitem.php b/app/class/Dbitem.php
index 29f7a2c..f8bc4b7 100644
--- a/app/class/Dbitem.php
+++ b/app/class/Dbitem.php
@@ -8,7 +8,7 @@ use DateTimeImmutable;
abstract class Dbitem extends Item
{
- public function dry()
+ public function dry(): array
{
$array = [];
foreach (get_object_vars($this) as $var => $value) {