/** * @param mixed $model * * @return bool */ public function hasTypehint($model) { if (!$model instanceof Argument) { return false; } $type = new ModelType($model->getType()); return $type->hasTypehint(); }