'array', ]; public function scopeOfHostingId($query, $hostingId) { return $query->where("hosting_id", $hostingId); } }