The method getKlineList() does not exist on Carpenstar\ByBitAPI\Core\Objects\AbstractResponse. It seems like you code against a sub-type of Carpenstar\ByBitAPI\Core\Objects\AbstractResponse such as Carpenstar\ByBitAPI\Deri...\Response\KlineResponse or Carpenstar\ByBitAPI\Deri...IndexPriceKlineResponse or Carpenstar\ByBitAPI\Deri...\MarkPriceKlineResponse.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
30
foreach ($indexPriceKlineResponse->getResult()->/** @scrutinizer ignore-call */ getKlineList() as $indexItem) {