Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f197443871 |
@@ -26,7 +26,7 @@ trait DatetimeTrait
|
||||
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);
|
||||
|
||||
@@ -65,4 +65,4 @@ trait DatetimeTrait
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user