We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79c5462 commit 6cffe85Copy full SHA for 6cffe85
2 files changed
LeanMapperQuery/IQuery.php
@@ -25,7 +25,7 @@ interface IQuery
25
* @param QueryTarget\ITarget|null $target
26
* @return Fluent
27
*/
28
- public function applyQuery(Fluent $fluent, IMapper $mapper, QueryTarget\ITarget $target = null);
+ public function applyQuery(Fluent $fluent, IMapper $mapper, ?QueryTarget\ITarget $target = null);
29
30
/**
31
* @return string
LeanMapperQuery/Query.php
@@ -455,7 +455,7 @@ public function cast($entityClass)
455
* @inheritdoc
456
* @throws InvalidArgumentException
457
458
- public function applyQuery(Fluent $fluent, IMapper $mapper, QueryTarget\ITarget $target = null)
+ public function applyQuery(Fluent $fluent, IMapper $mapper, ?QueryTarget\ITarget $target = null)
459
{
460
$targetTable = null;
461
0 commit comments