Major Refactoring

This commit is contained in:
Netkas 2023-02-14 17:35:16 -05:00
parent 3de87df2d9
commit 54a8a59ee8
83 changed files with 892 additions and 918 deletions

View file

@ -61,8 +61,8 @@
{
$object = new self();
$object->text = $data['text'];
$object->voter_count = $data['voter_count'];
$object->text = $data['text'] ?? null;
$object->voter_count = $data['voter_count'] ?? null;
return $object;
}