fix: avoid type error
This commit is contained in:
@@ -23,8 +23,8 @@ class PickupResolver
|
||||
return false;
|
||||
}
|
||||
|
||||
$teamerPickups = array_map(function (int $id) {
|
||||
return $this->pickupDataProvider->get($id);
|
||||
$teamerPickups = array_map(function (mixed $id) {
|
||||
return $this->pickupDataProvider->get((int) $id);
|
||||
}, $teamer->getPickups());
|
||||
|
||||
foreach ($teamerPickups as $teamerPickup) {
|
||||
|
||||
Reference in New Issue
Block a user