- Quickfix on missing debugResponse method of Apihandler

This commit is contained in:
Dave Mc Nicoll 2024-04-24 11:23:43 -04:00
parent 4e120cea6c
commit 7a31baa586
1 changed files with 3 additions and 1 deletions

View File

@ -209,7 +209,9 @@ class ApiRepository extends \Ulmus\Repository
protected function callApiDebugCallback(CurlTransport $transport) : void protected function callApiDebugCallback(CurlTransport $transport) : void
{ {
$this->adapter->apiHandler->debugResponse($transport, $this); if (method_exists($this->adapter->apiHandler, 'debugResponse')) {
$this->adapter->apiHandler->debugResponse($transport, $this);
}
} }
public function collectionFromQuery(? string $entityClass = null) : EntityCollection public function collectionFromQuery(? string $entityClass = null) : EntityCollection