@@ -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'); |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | { |
| 88 | 88 | $matches = []; |
| 89 | 89 | $pattern = '/[.A-Za-z0-9_-]+@[A-Za-z0-9_-]+\.([A-Za-z0-9_-][.A-Za-z0-9_]+)/'; //regex for pattern of e-mail address |
| 90 | - preg_match_all($pattern, $this->textTranscript, $matches); |
|
| 91 | - return count($matches) ? $matches[0] : null; |
|
| 90 | + preg_match_all($pattern, $this->textTranscript, $matches); |
|
| 91 | + return count($matches) ? $matches[0] : null; |
|
| 92 | 92 | } |
| 93 | 93 | } |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | { |
| 81 | 81 | $info = $this->info->attributes; |
| 82 | 82 | $info['transcript'] = $this->textTranscript; |
| 83 | - return ((object)$info); |
|
| 83 | + return ((object) $info); |
|
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | public function extractEmail() |