addType('workspaceId', Types::INTEGER); $this->addType('talkRootMessageId', Types::INTEGER); $this->addType('deckCardId', Types::INTEGER); $this->addType('deckStackId', Types::INTEGER); $this->addType('dueAt', Types::INTEGER); $this->addType('lastActivityMessageId', Types::INTEGER); $this->addType('createdAt', Types::INTEGER); $this->addType('updatedAt', Types::INTEGER); } #[\ReturnTypeWillChange] public function jsonSerialize() { return [ 'id' => $this->getId(), 'workspaceId' => $this->getWorkspaceId(), 'talkThreadId' => $this->getTalkThreadId(), 'talkRootMessageId' => $this->getTalkRootMessageId(), 'title' => $this->getTitle(), 'slug' => $this->getSlug(), 'folderPath' => $this->getFolderPath(), 'deckCardId' => $this->getDeckCardId(), 'deckStackId' => $this->getDeckStackId(), 'status' => $this->getStatus(), 'priority' => $this->getPriority(), 'createdBy' => $this->getCreatedBy(), 'assignedTo' => $this->getAssignedTo(), 'dueAt' => $this->getDueAt(), 'lastActivityMessageId' => $this->getLastActivityMessageId(), 'createdAt' => $this->getCreatedAt(), 'updatedAt' => $this->getUpdatedAt(), ]; } }