Browse Source

Merge pull request #8602 from thinkingmedia/patch-3

fix return type
ADmad 10 years ago
parent
commit
75e5f8c9c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Controller/Component/PaginatorComponent.php

+ 1 - 1
src/Controller/Component/PaginatorComponent.php

@@ -143,7 +143,7 @@ class PaginatorComponent extends Component
      *
      * @param \Cake\Datasource\RepositoryInterface|\Cake\Datasource\QueryInterface $object The table or query to paginate.
      * @param array $settings The settings/configuration used for pagination.
-     * @return array Query results
+     * @return \Cake\Datasource\ResultSetInterface Query results
      * @throws \Cake\Network\Exception\NotFoundException
      */
     public function paginate($object, array $settings = [])