fix: ensure correct argument type
This commit is contained in:
1 parent
4b5556995f
commit
1c55b4785c
1 file changed
+2
-2
@@ -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