- Fixed setTime return value
This commit is contained in:
1 parent
f6bbdda137
commit
f197443871
1 file changed
+1
-1
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user