File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ## 2.0.5 - 2.0.6
1+ ## 2.0.8
2+ PHP 7.0 support
3+
4+ ## 2.0.5 - 2.0.7
25Documentation updates
36
47## 2.0.4
Original file line number Diff line number Diff line change 3030 }
3131 ],
3232 "require" : {
33- "php" : " ^7.1 " ,
33+ "php" : " ^7.0 " ,
3434 "league/oauth2-client" : " ^2.4"
3535 },
3636 "require-dev" : {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class AppIdProvider extends AbstractProvider
2121{
2222 use BearerAuthorizationTrait;
2323
24- public const IDP_SAML = 'saml ' ;
24+ const IDP_SAML = 'saml ' ;
2525
2626 /** @var string */
2727 protected $ baseAuthUri ;
@@ -179,9 +179,9 @@ public function getIdp(): string
179179
180180 /**
181181 * @author Dzianis Kotau <jampire.blr@gmail.com>
182- * @return string
182+ * @return string|null
183183 */
184- public function getRedirectRoute (): ? string
184+ public function getRedirectRoute ()
185185 {
186186 return $ this ->redirectRoute ;
187187 }
@@ -208,7 +208,7 @@ protected function getDefaultScopes(): array
208208 * @return void
209209 * @throws IdentityProviderException
210210 */
211- protected function checkResponse (ResponseInterface $ response , $ data ): void
211+ protected function checkResponse (ResponseInterface $ response , $ data )
212212 {
213213 if (!empty ($ data ['error ' ])) {
214214 $ error = $ data ['error ' ] . ': ' . $ data ['error_description ' ];
You can’t perform that action at this time.
0 commit comments