@@ -224,7 +224,7 @@ |
||
224 | 224 | $requestedScopes = []; |
225 | 225 | if (empty($additionalScopes) === false) { |
226 | 226 | $additionalScopes = explode(' ', $additionalScopes); |
227 | - foreach($additionalScopes as $scope) { |
|
227 | + foreach ($additionalScopes as $scope) { |
|
228 | 228 | $dbScope = Scope::findOne($scope); |
229 | 229 | if ($dbScope !== null) { |
230 | 230 | $requestedScopes[] = $dbScope; |
@@ -175,7 +175,7 @@ |
||
175 | 175 | /** |
176 | 176 | * @var int duration of login time for multiple authorize calls |
177 | 177 | */ |
178 | - public $loginDuration = 60 * 60 * 24 * 30; |
|
178 | + public $loginDuration = 60*60*24*30; |
|
179 | 179 | |
180 | 180 | /** |
181 | 181 | * @var false|array Cors configuration if allowed @see http://www.yiiframework.com/doc-2.0/yii-filters-cors.html |
@@ -35,9 +35,9 @@ |
||
35 | 35 | <div class="row"> |
36 | 36 | <div class="col-md-push-3 col-md-6 col-sm-push-2 col-sm-8 col-xs-12 white-panel"> |
37 | 37 | <?php echo Html::beginForm(); ?> |
38 | - <?php if(empty($requestedScopes) === false) : ?> |
|
38 | + <?php if (empty($requestedScopes) === false) : ?> |
|
39 | 39 | <ul class="list-group"> |
40 | - <?php foreach($requestedScopes as $scope): ?> |
|
40 | + <?php foreach ($requestedScopes as $scope): ?> |
|
41 | 41 | <li class="list-group-item"> |
42 | 42 | <h4 class="list-group-item-heading"><?php echo $scope->id; ?></h4> |
43 | 43 | <p class="list-group-item-text"> |