Browse Source

fix return type

Thinking Media 9 years ago
parent
commit
916f0d64df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Datasource/ModelAwareTrait.php

+ 1 - 1
src/Datasource/ModelAwareTrait.php

@@ -80,7 +80,7 @@ trait ModelAwareTrait
      *
      * @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