-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* prevent false-positive ERROR: PropertyNotSetInConstructor * Revert "prevent false-positive ERROR: PropertyNotSetInConstructor" This reverts commit 35ef09a. * prevent false-positive ERROR: PropertyNotSetInConstructor * added template for Query
- Loading branch information
1 parent
9cc5c54
commit b9dc248
Showing
4 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
composer.lock | ||
tests/_output | ||
studio.json | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace Doctrine\ORM; | ||
|
||
/** | ||
* @template T | ||
*/ | ||
class Query extends AbstractQuery | ||
{ | ||
/** | ||
* @param int $hydrationMode | ||
* | ||
* @psalm-return ( | ||
* $hydrationMode is self::HYDRATE_OBJECT | ||
* ? list<T> | ||
* : mixed | ||
* ) | ||
*/ | ||
public function getResult($hydrationMode = self::HYDRATE_OBJECT) | ||
{ | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters