Rückgabewert ist schon ein Array deshalb kein toArray

This commit is contained in:
Marc Kreidler 2025-12-06 17:14:14 +01:00
parent 7de735eb1e
commit 351078fb43

View file

@ -129,9 +129,7 @@ class BuerklinProvider implements InfoProviderInterface
*/
private function queryDetail(string $id): PartDetailDTO
{
$response = $this->makeAPICall('/products', ['sku' => $id]);
$arr = $response->toArray();
$arr = $this->makeAPICall('/products', ['sku' => $id]);
$product = $arr['result'] ?? null;
if ($product === null) {