We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8594ee1 commit 728c1f0Copy full SHA for 728c1f0
src/Type/EntityQuery/EntityQueryType.php
@@ -17,7 +17,10 @@ public function hasAccessCheck(): bool
17
18
public function withAccessCheck(): self
19
{
20
- $type = new self(
+ // The constructor of ObjectType is under backward compatibility promise.
21
+ // @see https://phpstan.org/developing-extensions/backward-compatibility-promise
22
+ // @phpstan-ignore-next-line
23
+ $type = new static(
24
$this->getClassName(),
25
$this->getSubtractedType(),
26
$this->getClassReflection()
0 commit comments