public function scopeForYear(Builder $query, ?int $year = null): Builder 	{ 		return $query->when($year, function ($query) use ($year) { 			$query->whereHas('survey', function ($query) use ($year) { 				$query->where('year', $year ?? now()->year); 			}); 		}); 	}