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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,9 @@ class MetricPoint extends Model implements HasPresenter
*/
public function setCreatedAtAttribute($createdAt)
{
if (!$createdAt) return;
if (!$createdAt) {
return;
}
$createdAt = Carbon::parse($createdAt);