@@ -25,8 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @inheritdoc |
|
| 29 | - */ |
|
| 28 | + * @inheritdoc |
|
| 29 | + */ |
|
| 30 | 30 | //public static $tableName = 'oauth2_refresh_token'; |
| 31 | 31 | |
| 32 | 32 | |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @inheritdoc |
|
| 29 | - */ |
|
| 28 | + * @inheritdoc |
|
| 29 | + */ |
|
| 30 | 30 | //public static $tableName = 'oauth2_user_client'; |
| 31 | 31 | |
| 32 | 32 | |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @inheritdoc |
|
| 29 | - */ |
|
| 28 | + * @inheritdoc |
|
| 29 | + */ |
|
| 30 | 30 | //public static $tableName = 'oauth2_user_client_scope'; |
| 31 | 31 | |
| 32 | 32 | |
@@ -22,8 +22,8 @@ |
||
| 22 | 22 | |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * @inheritdoc |
|
| 26 | - */ |
|
| 25 | + * @inheritdoc |
|
| 26 | + */ |
|
| 27 | 27 | //public static $tableName = 'oauth2_access_token_scope'; |
| 28 | 28 | |
| 29 | 29 | |
@@ -33,8 +33,8 @@ |
||
| 33 | 33 | |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * @inheritdoc |
|
| 37 | - */ |
|
| 36 | + * @inheritdoc |
|
| 37 | + */ |
|
| 38 | 38 | //public static $tableName = 'oauth2_scope'; |
| 39 | 39 | |
| 40 | 40 | |
@@ -29,8 +29,8 @@ |
||
| 29 | 29 | |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @inheritdoc |
|
| 33 | - */ |
|
| 32 | + * @inheritdoc |
|
| 33 | + */ |
|
| 34 | 34 | //public static $tableName = 'oauth2_auth_code'; |
| 35 | 35 | |
| 36 | 36 | |
@@ -26,8 +26,8 @@ |
||
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | - * @inheritdoc |
|
| 30 | - */ |
|
| 29 | + * @inheritdoc |
|
| 30 | + */ |
|
| 31 | 31 | //public static $tableName = 'oauth2_client_scope'; |
| 32 | 32 | |
| 33 | 33 | |
@@ -14,14 +14,14 @@ |
||
| 14 | 14 | { |
| 15 | 15 | /** @var ActiveQuery $this */ |
| 16 | 16 | if (!is_null($enabled)) { |
| 17 | - if (is_null($this->from)){ |
|
| 17 | + if (is_null($this->from)) { |
|
| 18 | 18 | /** @var Oauth2ActiveRecordInterface $modelClass */ |
| 19 | 19 | $modelClass = $this->modelClass; |
| 20 | 20 | $table = $modelClass::tableName(); |
| 21 | 21 | } else { |
| 22 | 22 | $table = array_key_first($this->from); |
| 23 | 23 | } |
| 24 | - $this->andWhere([ "$table.enabled" => $enabled]); |
|
| 24 | + $this->andWhere(["$table.enabled" => $enabled]); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | return $this; |
@@ -115,7 +115,7 @@ |
||
| 115 | 115 | $maxAge = $this->getRequestParam($request, OidcAuthRequestInterface::REQUEST_PARAMETER_MAX_AGE); |
| 116 | 116 | if ($maxAge === '') { |
| 117 | 117 | $maxAge = null; |
| 118 | - } elseif($maxAge !== null) { |
|
| 118 | + } elseif ($maxAge !== null) { |
|
| 119 | 119 | $maxAge = (int)$maxAge; |
| 120 | 120 | } |
| 121 | 121 | |