@@ -20,8 +20,9 @@ |
||
20 | 20 | |
21 | 21 | public function getStartTimeAttribute() |
22 | 22 | { |
23 | - if (isset($this->attributes['startTime'])) |
|
24 | - return new Carbon($this->attributes['startTime']); |
|
23 | + if (isset($this->attributes['startTime'])) { |
|
24 | + return new Carbon($this->attributes['startTime']); |
|
25 | + } |
|
25 | 26 | } |
26 | 27 | |
27 | 28 | public function getEndTimeAttribute() |