Browse Source

Fix query class.

ADmad 3 years ago
parent
commit
55191254b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/PHPStan/TableFindByPropertyMethodReflection.php

+ 1 - 1
tests/PHPStan/TableFindByPropertyMethodReflection.php

@@ -71,6 +71,6 @@ class TableFindByPropertyMethodReflection implements MethodReflection
 
     public function getReturnType(): Type
     {
-        return new ObjectType('Cake\ORM\Query');
+        return new ObjectType('Cake\ORM\Query\SelectQuery');
     }
 }