Skip to content

Commit 7759286

Browse files
committed
Fix build
1 parent e5c4bcb commit 7759286

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Type/Doctrine/QueryBuilder/QueryBuilderType.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,22 @@
44

55
use PhpParser\Node\Expr\MethodCall;
66
use PHPStan\Type\ObjectType;
7+
use PHPStan\Type\Type;
78

89
abstract class QueryBuilderType extends ObjectType
910
{
1011

1112
/** @var array<string, MethodCall> */
1213
private $methodCalls = [];
1314

15+
final public function __construct(
16+
string $className,
17+
?Type $subtractedType = null
18+
)
19+
{
20+
parent::__construct($className, $subtractedType);
21+
}
22+
1423
/**
1524
* @return array<string, MethodCall>
1625
*/

0 commit comments

Comments
 (0)