addType('user_id', Types::STRING); $this->addType('title', Types::STRING); $this->addType('timestamp', Types::INTEGER); $this->addType('agency_conversation_token', Types::STRING); $this->addType('agency_pending_actions', Types::STRING); } #[\ReturnTypeWillChange] public function jsonSerialize() { return [ 'id' => $this->getId(), 'user_id' => $this->getUserId(), 'title' => $this->getTitle(), 'timestamp' => $this->getTimestamp(), 'agency_conversation_token' => $this->getAgencyConversationToken(), 'agency_pending_actions' => $this->getAgencyPendingActions(), ]; } }