addType('tagId', 'integer'); } #[\Override] #[ReturnTypeWillChange] public function jsonSerialize() { return [ 'id' => $this->getId(), 'imapMessageId' => $this->getImapMessageId(), 'tagId' => $this->getTagId(), ]; } }