|
|
@@ -74,7 +74,7 @@ trait ModelAwareTrait
|
|
|
* @param string $type The type of repository to load. Defaults to 'Table' which
|
|
|
* delegates to Cake\ORM\TableRegistry.
|
|
|
* @return object The model instance created.
|
|
|
- * @throws \Cake\Model\Exception\MissingModelException If the model class cannot be found.
|
|
|
+ * @throws \Cake\Datasource\Exception\MissingModelException If the model class cannot be found.
|
|
|
* @throws \InvalidArgumentException When using a type that has not been registered.
|
|
|
*/
|
|
|
public function loadModel($modelClass = null, $type = 'Table')
|