Skip to content
Permalink
Browse files

fix return type

  • Loading branch information...
thinkingmedia committed Jun 1, 2016
1 parent 53c0af9 commit 916f0d64df114f368a334451ec931bc5b886bca6
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 object The model instance created.
* @return \Cake\ORM\Table 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 916f0d6

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