We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3e7d1e commit de2673fCopy full SHA for de2673f
Report/DemoReportQuery.php
@@ -12,16 +12,16 @@
12
13
final class DemoReportQuery
14
{
15
- public function __construct(private \DateTimeInterface $month)
+ public function __construct(private ?\DateTimeInterface $month)
16
17
}
18
19
- public function getMonth(): \DateTimeInterface
+ public function getMonth(): ?\DateTimeInterface
20
21
return $this->month;
22
23
24
- public function setMonth(?\DateTime $month): void
+ public function setMonth(?\DateTimeInterface $month): void
25
26
$this->month = $month;
27
0 commit comments