Skip to content
Permalink
Browse files

Update ModelAwareTrait.php

  • Loading branch information...
thinkingmedia committed Jun 1, 2016
1 parent 916f0d6 commit 188ec72e1f4a2371df1933b7a8e43f9226feb7ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 188ec72

Please sign in to comment.
You can’t perform that action at this time.