Browse Source

Add missing docblock

mscherer 7 years ago
parent
commit
b3e091e290

+ 1 - 0
src/Datasource/QueryTrait.php

@@ -80,6 +80,7 @@ trait QueryTrait
      * @var bool
      */
     protected $_eagerLoaded = false;
+
     /**
      * Returns the default table object that will be used by this query,
      * that is, the table that will appear in the from clause.

+ 1 - 0
tests/TestCase/Controller/Component/PaginatorComponentTest.php

@@ -1389,6 +1389,7 @@ class PaginatorComponentTest extends TestCase
      */
     protected function _getMockFindQuery(?RepositoryInterface $table = null)
     {
+        /** @var \Cake\ORM\Query|\PHPUnit_Framework_MockObject_MockObject $query */
         $query = $this->getMockBuilder('Cake\ORM\Query')
             ->setMethods(['total', 'all', 'count', 'applyOptions'])
             ->disableOriginalConstructor()