id = (int) $this->id; $this->server_id = (int) $this->server_id; } /** * Return this row as an associative array (for tests and future consumers). * * @return array */ public function to_array(): array { return array( 'id' => $this->id, 'server_id' => $this->server_id, 'ability_slug' => $this->ability_slug, 'created_at' => $this->created_at, 'updated_at' => $this->updated_at, ); } }