has anyone experienced something like
Unexpected value type: expected object implementing Phalcon\Mvc\ModelInterface, object of type App\Core\Models\Mongo\Category\CategoryTranslation given
This is what i have:
class CategoryTranslation extends \App\Core\Models\Mongo\BaseCollection
....
public function validation()
{
$this->validate(new Uniqueness(array(
'field' => 'slug',
"message" => "The slug must be unique"
)));
return $this->validationHasFailed() != true;
}