@@ -280,10 +280,10 @@ |
||
| 280 | 280 | /** |
| 281 | 281 | * chat function |
| 282 | 282 | * |
| 283 | - * @codeCoverageIgnore |
|
| 284 | - * |
|
| 285 | - * @todo connect this to the server chat api - this function currently does nothing. |
|
| 286 | - */ |
|
| 283 | + * @codeCoverageIgnore |
|
| 284 | + * |
|
| 285 | + * @todo connect this to the server chat api - this function currently does nothing. |
|
| 286 | + */ |
|
| 287 | 287 | public function chat() |
| 288 | 288 | { |
| 289 | 289 | $this->domain('conversationVep'); |
@@ -50,6 +50,6 @@ |
||
| 50 | 50 | { |
| 51 | 51 | $info = $this->info->attributes; |
| 52 | 52 | $info['transcript'] = $this->textTranscript; |
| 53 | - return ((object)$info); |
|
| 53 | + return ((object) $info); |
|
| 54 | 54 | } |
| 55 | 55 | } |
@@ -20,19 +20,19 @@ |
||
| 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 | public function getEndTimeAttribute() |
| 28 | 28 | { |
| 29 | - if (isset($this->attributes['endTime'])) { |
|
| 30 | - if ($this->attributes['status'] == 'CLOSE') { |
|
| 31 | - return new Carbon($this->attributes['endTime']); |
|
| 32 | - } else { |
|
| 33 | - return null; |
|
| 34 | - } |
|
| 35 | - } |
|
| 29 | + if (isset($this->attributes['endTime'])) { |
|
| 30 | + if ($this->attributes['status'] == 'CLOSE') { |
|
| 31 | + return new Carbon($this->attributes['endTime']); |
|
| 32 | + } else { |
|
| 33 | + return null; |
|
| 34 | + } |
|
| 35 | + } |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | public function getMinutesAttribute() |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | { |
| 15 | 15 | protected $guarded = []; |
| 16 | 16 | |
| 17 | - public function getTimeAttribute() |
|
| 18 | - { |
|
| 19 | - return new Carbon(intval($this->timeL/1000)); |
|
| 20 | - } |
|
| 17 | + public function getTimeAttribute() |
|
| 18 | + { |
|
| 19 | + return new Carbon(intval($this->timeL/1000)); |
|
| 20 | + } |
|
| 21 | 21 | } |
@@ -16,6 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | public function getTimeAttribute() |
| 18 | 18 | { |
| 19 | - return new Carbon(intval($this->timeL/1000)); |
|
| 19 | + return new Carbon(intval($this->timeL / 1000)); |
|
| 20 | 20 | } |
| 21 | 21 | } |