I was wondering why? because sometime my query using findfirst is returning a stdClass. The query itself only contain condition and binding. here is the query
Subscribers::findFirst([
'conditions' => 'email_hash = :email_hash: AND is_deleted=0 AND status!=:status:',
'bind' => [
'email_hash' => $hash_email,
'status' => Subscribers::UNSUBSCRIBE
]
]);
I am using phalcon 3.0.3, and PHP 7.0.16