File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,22 +31,22 @@ class GoogleTranslate
3131 /**
3232 * @var string|null Source language which the string should be translated from.
3333 */
34- protected ?string $ source ;
34+ protected ?string $ source = null ;
3535
3636 /**
3737 * @var string|null Target language which the string should be translated to.
3838 */
39- protected ?string $ target ;
39+ protected ?string $ target = null ;
4040
4141 /*
4242 * @var string|null Regex pattern to match replaceable parts in a string, defualts to "words"
4343 */
44- protected ?string $ pattern ;
44+ protected ?string $ pattern = null ;
4545
4646 /**
4747 * @var string|null Last detected source language.
4848 */
49- protected ?string $ lastDetectedSource ;
49+ protected ?string $ lastDetectedSource = null ;
5050
5151 /**
5252 * @var string Google Translate base URL.
You can’t perform that action at this time.
0 commit comments