fix: ensure correct argument type
This commit is contained in:
@@ -88,9 +88,9 @@ class AppRuntime implements RuntimeExtensionInterface
|
||||
return 'ab '.$pickup->getCity();
|
||||
}
|
||||
|
||||
public function hasPickup(?int $pickupId, Teamer $teamer): bool
|
||||
public function hasPickup($pickupId, Teamer $teamer): bool
|
||||
{
|
||||
return $this->pickupResolver->hasPickup($pickupId, $teamer);
|
||||
return $this->pickupResolver->hasPickup((int) $pickupId, $teamer);
|
||||
}
|
||||
|
||||
public function fileIconFilter(Environment $environment, string $mimeType, ?string $classes = 'w-4 h-4'): string
|
||||
|
||||
Reference in New Issue
Block a user