Closed eymen-elkum closed 8 years ago
Can we also have a test for this please?
I used this lines, and the $row then is array and not entity
$apps = $this->Apps->find()->where([
'user_id' => $user['user']['id']
])->hydrate(false)->first();
Fatal error: Call to a member function dirty() on a non-object in \vendor\dereuromark\cakephp-hashid\src\Model\Behavior\HashidBehavior.php on line 234
Please fix CS as well. So tests are green again.
This is necessary when we set hydrate to false