Skip to content

Commit 0577137

Browse files
committed
seriously?
1 parent 0db58cf commit 0577137

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Entity/User.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ public function __serialize(): array
633633
{
634634
$vars = get_object_vars($this);
635635
unset($vars['imageFile']);
636+
636637
return $vars;
637638
}
638639

@@ -643,6 +644,7 @@ public function __unserialize(array $data): void
643644
if (! property_exists($this, $key)) {
644645
continue;
645646
}
647+
646648
$this->$key = $value;
647649
}
648650
}

0 commit comments

Comments
 (0)