You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to a lapse in logic, the setCustomEntity method on the Diffbot class is always called without an argument if the setHttpClient isn't called beforehand.
Change
if (!$this->getHttpClient()) {
$this->setHttpClient();
$this->setEntityFactory();
}
to
if (!$this->getHttpClient()) {
$this->setHttpClient();
}
if (!$this->getEntityFactory()) {
$this->setEntityFactory();
}