File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ class OAuth2 implements AuthInterface
6464 */
6565 public function __construct (HttpClientInterface $ httpClient , string $ clientId , string $ clientSecret )
6666 {
67+ $ this ->httpClient = $ httpClient ;
6768 $ this ->clientId = $ clientId ;
6869 $ this ->clientSecret = $ clientSecret ;
69- $ this ->httpClient = $ httpClient ;
7070 }
7171
7272 /**
Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ public function getAuthenticationClient(): AuthInterface
120120 if (null === $ this ->authenticationClient ) {
121121 $ this ->authenticationClient = new Auth \OAuth2 (
122122 $ this ->getHttpClient (),
123- $ this ->getOption ('client_id ' ),
124- $ this ->getOption ('client_secret ' )
123+ ( string ) $ this ->getOption ('client_id ' ),
124+ ( string ) $ this ->getOption ('client_secret ' )
125125 );
126126 }
127127
You can’t perform that action at this time.
0 commit comments