Skip to content

Commit 9d79218

Browse files
author
Ethan Ransdell
committed
Declare missing $detectLanguage variable
1 parent 14be398 commit 9d79218

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/Voice/Bxml/Record.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ class Record extends Verb {
5050
* @var string
5151
*/
5252
private $fileFormat;
53+
/**
54+
* @var bool
55+
*/
56+
private $detectLanguage;
5357
/**
5458
* @var int
5559
*/
@@ -185,7 +189,7 @@ public function fileFormat(string $fileFormat) {
185189
* @param boolean $detectLanguage Indicates that the recording may not be in English, and the transcription service will need to detect the dominant language the recording is in and transcribe accordingly. Current supported languages are English, French, and Spanish.
186190
*/
187191
public function detectLanguage($detectLanguage) {
188-
$this->detectLanguage= $detectLanguage;
192+
$this->detectLanguage = $detectLanguage;
189193
}
190194

191195
/**

src/Voice/Bxml/StartRecording.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ class StartRecording extends Verb {
3434
* @var string
3535
*/
3636
private $fileFormat;
37+
/**
38+
* @var bool
39+
*/
40+
private $detectLanguage;
3741
/**
3842
* @var string
3943
*/
@@ -116,7 +120,7 @@ public function fileFormat(string $fileFormat) {
116120
* @param boolean $detectLanguage Indicates that the recording may not be in English, and the transcription service will need to detect the dominant language the recording is in and transcribe accordingly. Current supported languages are English, French, and Spanish.
117121
*/
118122
public function detectLanguage($detectLanguage) {
119-
$this->detectLanguage= $detectLanguage;
123+
$this->detectLanguage = $detectLanguage;
120124
}
121125

122126

0 commit comments

Comments
 (0)