code: public function getChunk($size = 1, $documentType = null, $shopId = null)
      {
          if ($size === 0) {
              return null;
          }
  
          return $this->storageManager->getNextRecords($size, $documentType, $shopId);
      }
docs: {@inheritdoc}