Apply fixes from StyleCI (#3139)

[ci skip] [skip ci]
This commit is contained in:
James Brooks
2018-06-27 14:40:19 +01:00
committed by GitHub
parent 1ac884805d
commit 3e3763722b
+3 -1
View File
@@ -98,7 +98,9 @@ class MetricPoint extends Model implements HasPresenter
*/ */
public function setCreatedAtAttribute($createdAt) public function setCreatedAtAttribute($createdAt)
{ {
if (!$createdAt) return; if (!$createdAt) {
return;
}
$createdAt = Carbon::parse($createdAt); $createdAt = Carbon::parse($createdAt);