From 188ec72e1f4a2371df1933b7a8e43f9226feb7ed Mon Sep 17 00:00:00 2001 From: Thinking Media Date: Wed, 1 Jun 2016 10:49:04 -0400 Subject: [PATCH] Update ModelAwareTrait.php --- src/Datasource/ModelAwareTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Datasource/ModelAwareTrait.php b/src/Datasource/ModelAwareTrait.php index ce4c03ff66e..097cda6d70e 100644 --- a/src/Datasource/ModelAwareTrait.php +++ b/src/Datasource/ModelAwareTrait.php @@ -80,7 +80,7 @@ protected function _setModelClass($name) * * @param string|null $modelClass Name of model class to load. Defaults to $this->modelClass * @param string|null $modelType The type of repository to load. Defaults to the modelType() value. - * @return \Cake\ORM\Table The model instance created. + * @return \Cake\Datasource\RepositoryInterface The model instance created. * @throws \Cake\Datasource\Exception\MissingModelException If the model class cannot be found. * @throws \InvalidArgumentException When using a type that has not been registered. * @throws \UnexpectedValueException If no model type has been defined