1 Commits
Author SHA1 Message Date
mcndave f197443871 - Fixed setTime return value 2026-10-22 17:28:00 +00:00
+1 -1
View File
@@ -26,7 +26,7 @@ trait DatetimeTrait
return $obj; return $obj;
} }
public function setTime($hour, $minute, $second = 0, $microsecond = 0) : \DateTimeInterface public function setTime($hour, $minute, $second = 0, $microsecond = 0) : \DateTime
{ {
$fromParent = parent::setTime($hour, $minute, $second, $microsecond); $fromParent = parent::setTime($hour, $minute, $second, $microsecond);