@@ -93,9 +93,9 @@ discard block |
||
93 | 93 | $idp_metadata = $metadata->getMetaData($idp_entityid, 'saml20-idp-hosted'); |
94 | 94 | } |
95 | 95 | |
96 | - Logger::debug('consentAdmin: IdP is [' . $idp_entityid . ']'); |
|
96 | + Logger::debug('consentAdmin: IdP is ['.$idp_entityid.']'); |
|
97 | 97 | |
98 | - $source = $idp_metadata['metadata-set'] . '|' . $idp_entityid; |
|
98 | + $source = $idp_metadata['metadata-set'].'|'.$idp_entityid; |
|
99 | 99 | |
100 | 100 | // Parse consent config |
101 | 101 | $consent_storage = Store::parseStoreConfig($consentconfig->getValue('store')); |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | // Check if button with withdraw all consent was clicked |
107 | 107 | if (array_key_exists('withdraw', $_REQUEST)) { |
108 | 108 | Logger::info( |
109 | - 'consentAdmin: UserID [' . $hashed_user_id . '] has requested to withdraw all consents given...' |
|
109 | + 'consentAdmin: UserID ['.$hashed_user_id.'] has requested to withdraw all consents given...' |
|
110 | 110 | ); |
111 | 111 | |
112 | 112 | $consent_storage->deleteAllConsents($hashed_user_id); |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | } |
122 | 122 | |
123 | 123 | Logger::debug( |
124 | - 'consentAdmin: no of consents [' . count($user_consent_list) . '] no of services [' . count($consentServices) . ']' |
|
124 | + 'consentAdmin: no of consents ['.count($user_consent_list).'] no of services ['.count($consentServices).']' |
|
125 | 125 | ); |
126 | 126 | |
127 | 127 | // Init template |
@@ -131,8 +131,8 @@ discard block |
||
131 | 131 | $t->data['consentServices'] = count($consentServices); |
132 | 132 | $t->data['consents'] = count($user_consent_list); |
133 | 133 | $t->data['granted'] = $translator->t('{consentSimpleAdmin:consentsimpleadmin:granted}', [ |
134 | - '%NO%' => (string)$this->data['consents'], |
|
135 | - '%OF%' => (string)$this->data['consentServices'], |
|
134 | + '%NO%' => (string) $this->data['consents'], |
|
135 | + '%OF%' => (string) $this->data['consentServices'], |
|
136 | 136 | ]); |
137 | 137 | |
138 | 138 | return $t; |