Replaced zend_hash_find with phalcon version