Signed-off-by: Roland Häder <roland@mxchange.org>
} elseif ((is_array($entry)) && (isset($entry['id']))) {
// Supported array found
$entry2 = crc32($entry['id']) . ':' . count($entry);
- } elseif (($this->callbackInstance instanceof FrameworkInterface) && (method_exists(array($this->callbackInstance, 'generateListHashFromEntry')))) {
+ } elseif (($this->callbackInstance instanceof FrameworkInterface) && (method_exists($this->callbackInstance, 'generateListHashFromEntry'))) {
// Call it instead
$entry2 = $this->callbackInstance->generateListHashFromEntry($entry);
} else {