Skip to content

Commit

Permalink
Update ModelAwareTrait.php
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingmedia committed Jun 1, 2016
1 parent 916f0d6 commit 188ec72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datasource/ModelAwareTrait.php
Expand Up @@ -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
Expand Down

0 comments on commit 188ec72

Please sign in to comment.