Fix styling
This commit is contained in:
1 parent
8ecabc5a5e
commit
c856ab984d
1 file changed
+2
@@ -249,6 +249,7 @@ trait Accessor
|
|||||||
if (static::isValidDate($year, $month, $day)) {
|
if (static::isValidDate($year, $month, $day)) {
|
||||||
parent::setDate($year, $month, $day);
|
parent::setDate($year, $month, $day);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -272,6 +273,7 @@ trait Accessor
|
|||||||
if (static::isValidTime($hour, $minute, $second)) {
|
if (static::isValidTime($hour, $minute, $second)) {
|
||||||
parent::setTime($hour, $minute, $second, 0);
|
parent::setTime($hour, $minute, $second, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user