Adapter/PlentymarketsAdapter/ServiceBus/QueryHandler/Order/FetchOrderQueryHandler.php
public function handle(QueryInterface $query)
    {
        $identity = $this->identityService->findOneBy([
            'objectIdentifier' => $query->getObjectIdentifier(),
            'objectType' => Order::TYPE,
            'adapterName' => PlentymarketsAdapter::NAME,
        ]);

        if (null === $identity) {
            return [];
        }

        $orderData = $this->api->find($identity->getAdapterIdentifier());

        $order = $this->responseParser->parse($orderData);

        return array_filter($order);
    }
public function handle(QueryInterface $query)
    {
        $identity = $this->identityService->findOneBy([
            'objectIdentifier' => $query->getObjectIdentifier(),
            'objectType' => Order::TYPE,
            'adapterName' => PlentymarketsAdapter::NAME,
        ]);

        if (null === $identity) {
            return [];
        }

        $orderData = $this->api->find($identity->getAdapterIdentifier());

        $order = $this->responseParser->parse($orderData);

        return array_filter($order);
    }
{@inheritdoc}

@var FetchTransferObjectQuery $query