@@ -49,13 +49,13 @@ class BaseClient
4949 * @throws ConfigurationException If valid authentication is not present
5050 */
5151 public function __construct (
52- ? string $ username = null ,
53- ? string $ password = null ,
54- ? string $ accountSid = null ,
55- ? string $ region = null ,
56- ? HttpClient $ httpClient = null ,
57- ? array $ environment = null ,
58- ? array $ userAgentExtensions = null
52+ string $ username = null ,
53+ string $ password = null ,
54+ string $ accountSid = null ,
55+ string $ region = null ,
56+ HttpClient $ httpClient = null ,
57+ array $ environment = null ,
58+ array $ userAgentExtensions = null
5959 ) {
6060 $ this ->environment = $ environment ?: \getenv ();
6161
@@ -119,9 +119,9 @@ public function request(
119119 array $ params = [],
120120 array $ data = [],
121121 array $ headers = [],
122- ? string $ username = null ,
123- ? string $ password = null ,
124- ? int $ timeout = null
122+ string $ username = null ,
123+ string $ password = null ,
124+ int $ timeout = null
125125 ): \Twilio \Http \Response {
126126 $ username = $ username ?: $ this ->username ;
127127 $ password = $ password ?: $ this ->password ;
@@ -341,7 +341,7 @@ public function getEdge(): string
341341 *
342342 * @param string $uri Edge to use, unsets the Edge when called with no arguments
343343 */
344- public function setEdge (? string $ edge = null ): void
344+ public function setEdge (string $ edge = null ): void
345345 {
346346 $ this ->edge = $ this ->getArg ($ edge , self ::ENV_EDGE );
347347 }
@@ -381,7 +381,7 @@ public function getLogLevel(): ?string
381381 *
382382 * @param string $logLevel log level to use
383383 */
384- public function setLogLevel (? string $ logLevel = null ): void
384+ public function setLogLevel (string $ logLevel = null ): void
385385 {
386386 $ this ->logLevel = $ this ->getArg ($ logLevel , self ::ENV_LOG );
387387 }
0 commit comments