mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 11:08:53 +01:00
parent
1ac884805d
commit
3e3763722b
@ -98,7 +98,9 @@ class MetricPoint extends Model implements HasPresenter
|
||||
*/
|
||||
public function setCreatedAtAttribute($createdAt)
|
||||
{
|
||||
if (!$createdAt) return;
|
||||
if (!$createdAt) {
|
||||
return;
|
||||
}
|
||||
|
||||
$createdAt = Carbon::parse($createdAt);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user