Skip to content

Commit ea7ff7f

Browse files
committed
removed optional typing
1 parent e0ff330 commit ea7ff7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entities/Page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public function setCheckbox(string $propertyTitle, bool $checked): Page
283283
* @param $end
284284
* @return Page
285285
*/
286-
public function setDate(string $propertyTitle, ?DateTime $start, ?DateTime $end = null): Page
286+
public function setDate(string $propertyTitle, DateTime $start, ?DateTime $end = null): Page
287287
{
288288
$this->set($propertyTitle, Date::value($start, $end));
289289

0 commit comments

Comments
 (0)