meta_id = (int) $this->meta_id; $this->server_id = (int) $this->server_id; } /** * @return array */ public function to_array(): array { return array( 'meta_id' => $this->meta_id, 'server_id' => $this->server_id, 'meta_key' => $this->meta_key, 'meta_value' => $this->meta_value, ); } }