@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | $find = array_keys($displayNames, $input, TRUE); |
| 148 | 148 | |
| 149 | 149 | if (count($find) == 0) { // this is an error! throw an Exception |
| 150 | - throw new \Exception("The translation of an option name was requested, but the option is not known to the system: " . htmlentities($input)); |
|
| 150 | + throw new \Exception("The translation of an option name was requested, but the option is not known to the system: ".htmlentities($input)); |
|
| 151 | 151 | } |
| 152 | 152 | \core\common\Entity::outOfThePotatoes(); |
| 153 | 153 | return $find[0]; |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | |
| 169 | 169 | foreach ($optionlist as $option) { |
| 170 | 170 | $type = $optioninfo->optionType($option['name']); |
| 171 | - if (preg_match('/^' . $class . '/', $option['name']) && $option['level'] == "$level") { |
|
| 171 | + if (preg_match('/^'.$class.'/', $option['name']) && $option['level'] == "$level") { |
|
| 172 | 172 | // all non-multilang attribs get this assignment ... |
| 173 | 173 | $language = ""; |
| 174 | 174 | $content = $option['value']; |
@@ -186,19 +186,19 @@ discard block |
||
| 186 | 186 | $locationMarkers[] = $coords; |
| 187 | 187 | break; |
| 188 | 188 | case "file": |
| 189 | - $retval .= "<tr><td>" . $this->displayName($option['name']) . "</td><td>$language</td><td>"; |
|
| 189 | + $retval .= "<tr><td>".$this->displayName($option['name'])."</td><td>$language</td><td>"; |
|
| 190 | 190 | switch ($option['name']) { |
| 191 | 191 | case "general:logo_file": |
| 192 | 192 | case "fed:logo_file": |
| 193 | - $retval .= $this->previewImageinHTML('ROWID-' . $option['level'] . '-' . $option['row']); |
|
| 193 | + $retval .= $this->previewImageinHTML('ROWID-'.$option['level'].'-'.$option['row']); |
|
| 194 | 194 | break; |
| 195 | 195 | case "eap:ca_file": |
| 196 | 196 | // fall-through intended: display both the same way |
| 197 | 197 | case "fed:minted_ca_file": |
| 198 | - $retval .= $this->previewCAinHTML('ROWID-' . $option['level'] . '-' . $option['row']); |
|
| 198 | + $retval .= $this->previewCAinHTML('ROWID-'.$option['level'].'-'.$option['row']); |
|
| 199 | 199 | break; |
| 200 | 200 | case "support:info_file": |
| 201 | - $retval .= $this->previewInfoFileinHTML('ROWID-' . $option['level'] . '-' . $option['row']); |
|
| 201 | + $retval .= $this->previewInfoFileinHTML('ROWID-'.$option['level'].'-'.$option['row']); |
|
| 202 | 202 | break; |
| 203 | 203 | default: |
| 204 | 204 | } |
@@ -208,10 +208,10 @@ discard block |
||
| 208 | 208 | // do not display the option at all; it gets auto-set by the ProfileSilverbullet constructor and doesn't have to be seen |
| 209 | 209 | break; |
| 210 | 210 | } |
| 211 | - $retval .= "<tr><td>" . $this->displayName($option['name']) . "</td><td>$language</td><td><strong>" . ($content == "on" ? _("on") : _("off") ) . "</strong></td></tr>"; |
|
| 211 | + $retval .= "<tr><td>".$this->displayName($option['name'])."</td><td>$language</td><td><strong>".($content == "on" ? _("on") : _("off"))."</strong></td></tr>"; |
|
| 212 | 212 | break; |
| 213 | 213 | default: |
| 214 | - $retval .= "<tr><td>" . $this->displayName($option['name']) . "</td><td>$language</td><td><strong>$content</strong></td></tr>"; |
|
| 214 | + $retval .= "<tr><td>".$this->displayName($option['name'])."</td><td>$language</td><td><strong>$content</strong></td></tr>"; |
|
| 215 | 215 | } |
| 216 | 216 | } |
| 217 | 217 | } |
@@ -220,11 +220,11 @@ discard block |
||
| 220 | 220 | $locationCount = 0; |
| 221 | 221 | foreach ($locationMarkers as $g) { |
| 222 | 222 | $locationCount++; |
| 223 | - $marker .= '<marker name="' . $locationCount . '" lat="' . $g['lat'] . '" lng="' . $g['lon'] . '" />'; |
|
| 223 | + $marker .= '<marker name="'.$locationCount.'" lat="'.$g['lat'].'" lng="'.$g['lon'].'" />'; |
|
| 224 | 224 | } |
| 225 | 225 | $marker .= '<\/markers>'; // some validator says this should be escaped |
| 226 | 226 | $jMarker = json_encode($locationMarkers); |
| 227 | - $retval .= '<tr><td><script>markers=\'' . $marker . '\'; jmarkers = \'' . $jMarker . '\';</script></td><td></td><td></td></tr>'; |
|
| 227 | + $retval .= '<tr><td><script>markers=\''.$marker.'\'; jmarkers = \''.$jMarker.'\';</script></td><td></td><td></td></tr>'; |
|
| 228 | 228 | } |
| 229 | 229 | \core\common\Entity::outOfThePotatoes(); |
| 230 | 230 | return $retval; |
@@ -240,11 +240,11 @@ discard block |
||
| 240 | 240 | \core\common\Entity::intoThePotatoes(); |
| 241 | 241 | $idpoptions = $myInst->getAttributes(); |
| 242 | 242 | $retval = "<div class='infobox'> |
| 243 | - <h2>" . sprintf(_("General %s details"), $this->nomenclatureInst) . "</h2> |
|
| 243 | + <h2>" . sprintf(_("General %s details"), $this->nomenclatureInst)."</h2> |
|
| 244 | 244 | <table> |
| 245 | 245 | <tr> |
| 246 | 246 | <td> |
| 247 | - " . _("Country:") . " |
|
| 247 | + " . _("Country:")." |
|
| 248 | 248 | </td> |
| 249 | 249 | <td> |
| 250 | 250 | </td> |
@@ -254,16 +254,16 @@ discard block |
||
| 254 | 254 | $retval .= $myFed->name; |
| 255 | 255 | $retval .= "</strong> |
| 256 | 256 | </td> |
| 257 | - </tr>" . $this->infoblock($idpoptions, "general", "IdP") . " |
|
| 257 | + </tr>" . $this->infoblock($idpoptions, "general", "IdP")." |
|
| 258 | 258 | </table> |
| 259 | 259 | </div>"; |
| 260 | 260 | |
| 261 | 261 | $blocks = [["support", _("Global Helpdesk Details")], ["media", _("Media Properties")]]; |
| 262 | 262 | foreach ($blocks as $block) { |
| 263 | 263 | $retval .= "<div class='infobox'> |
| 264 | - <h2>" . $block[1] . "</h2> |
|
| 264 | + <h2>" . $block[1]."</h2> |
|
| 265 | 265 | <table>" . |
| 266 | - $this->infoblock($idpoptions, $block[0], "IdP") . |
|
| 266 | + $this->infoblock($idpoptions, $block[0], "IdP"). |
|
| 267 | 267 | "</table> |
| 268 | 268 | </div>"; |
| 269 | 269 | } |
@@ -278,12 +278,12 @@ discard block |
||
| 278 | 278 | */ |
| 279 | 279 | private function displaySize(int $number) { |
| 280 | 280 | if ($number > 1024 * 1024) { |
| 281 | - return round($number / 1024 / 1024, 2) . " MiB"; |
|
| 281 | + return round($number / 1024 / 1024, 2)." MiB"; |
|
| 282 | 282 | } |
| 283 | 283 | if ($number > 1024) { |
| 284 | - return round($number / 1024, 2) . " KiB"; |
|
| 284 | + return round($number / 1024, 2)." KiB"; |
|
| 285 | 285 | } |
| 286 | - return $number . " B"; |
|
| 286 | + return $number." B"; |
|
| 287 | 287 | } |
| 288 | 288 | |
| 289 | 289 | /** |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | $ref = $validator->databaseReference($cAReference); |
| 338 | 338 | $rawResult = UIElements::getBlobFromDB($ref['table'], $ref['rowindex'], FALSE); |
| 339 | 339 | if (is_bool($rawResult)) { // we didn't actually get a CA! |
| 340 | - $retval = "<div class='ca-summary'>" . _("There was an error while retrieving the certificate from the database!") . "</div>"; |
|
| 340 | + $retval = "<div class='ca-summary'>"._("There was an error while retrieving the certificate from the database!")."</div>"; |
|
| 341 | 341 | \core\common\Entity::outOfThePotatoes(); |
| 342 | 342 | return $retval; |
| 343 | 343 | } |
@@ -353,13 +353,13 @@ discard block |
||
| 353 | 353 | |
| 354 | 354 | $details['name'] = preg_replace('/(.)\/(.)/', "$1<br/>$2", $details['name']); |
| 355 | 355 | $details['name'] = preg_replace('/\//', "", $details['name']); |
| 356 | - $certstatus = ( $details['root'] == 1 ? "R" : "I"); |
|
| 356 | + $certstatus = ($details['root'] == 1 ? "R" : "I"); |
|
| 357 | 357 | if ($details['ca'] == 0 && $details['root'] != 1) { |
| 358 | - $retval = "<div class='ca-summary' style='background-color:red'><div style='position:absolute; right: 0px; width:20px; height:20px; background-color:maroon; border-radius:10px; text-align: center;'><div style='padding-top:3px; font-weight:bold; color:#ffffff;'>S</div></div>" . _("This is a <strong>SERVER</strong> certificate!") . "<br/>" . $details['name'] . "</div>"; |
|
| 358 | + $retval = "<div class='ca-summary' style='background-color:red'><div style='position:absolute; right: 0px; width:20px; height:20px; background-color:maroon; border-radius:10px; text-align: center;'><div style='padding-top:3px; font-weight:bold; color:#ffffff;'>S</div></div>"._("This is a <strong>SERVER</strong> certificate!")."<br/>".$details['name']."</div>"; |
|
| 359 | 359 | \core\common\Entity::outOfThePotatoes(); |
| 360 | 360 | return $retval; |
| 361 | 361 | } |
| 362 | - $retval = "<div class='ca-summary' ><div style='position:absolute; right: 0px; width:20px; height:20px; background-color:#0000ff; border-radius:10px; text-align: center;'><div style='padding-top:3px; font-weight:bold; color:#ffffff;'>$certstatus</div></div>" . $details['name'] . "</div>"; |
|
| 362 | + $retval = "<div class='ca-summary' ><div style='position:absolute; right: 0px; width:20px; height:20px; background-color:#0000ff; border-radius:10px; text-align: center;'><div style='padding-top:3px; font-weight:bold; color:#ffffff;'>$certstatus</div></div>".$details['name']."</div>"; |
|
| 363 | 363 | \core\common\Entity::outOfThePotatoes(); |
| 364 | 364 | return $retval; |
| 365 | 365 | } |
@@ -372,7 +372,7 @@ discard block |
||
| 372 | 372 | */ |
| 373 | 373 | public function previewImageinHTML($imageReference) { |
| 374 | 374 | \core\common\Entity::intoThePotatoes(); |
| 375 | - $retval = "<img style='max-width:150px' src='inc/filepreview.php?id=" . $imageReference . "' alt='" . _("Preview of logo file") . "'/>"; |
|
| 375 | + $retval = "<img style='max-width:150px' src='inc/filepreview.php?id=".$imageReference."' alt='"._("Preview of logo file")."'/>"; |
|
| 376 | 376 | \core\common\Entity::outOfThePotatoes(); |
| 377 | 377 | return $retval; |
| 378 | 378 | } |
@@ -389,13 +389,13 @@ discard block |
||
| 389 | 389 | $ref = $validator->databaseReference($fileReference); |
| 390 | 390 | $fileBlob = UIElements::getBlobFromDB($ref['table'], $ref['rowindex'], FALSE); |
| 391 | 391 | if (is_bool($fileBlob)) { // we didn't actually get a file! |
| 392 | - $retval = "<div class='ca-summary'>" . _("There was an error while retrieving the file from the database!") . "</div>"; |
|
| 392 | + $retval = "<div class='ca-summary'>"._("There was an error while retrieving the file from the database!")."</div>"; |
|
| 393 | 393 | \core\common\Entity::outOfThePotatoes(); |
| 394 | 394 | return $retval; |
| 395 | 395 | } |
| 396 | 396 | $decodedFileBlob = base64_decode($fileBlob); |
| 397 | 397 | $fileinfo = new \finfo(); |
| 398 | - $retval = "<div class='ca-summary'>" . _("File exists") . " (" . $fileinfo->buffer($decodedFileBlob, FILEINFO_MIME_TYPE) . ", " . $this->displaySize(strlen($decodedFileBlob)) . ")<br/><a href='inc/filepreview.php?id=$fileReference'>" . _("Preview") . "</a></div>"; |
|
| 398 | + $retval = "<div class='ca-summary'>"._("File exists")." (".$fileinfo->buffer($decodedFileBlob, FILEINFO_MIME_TYPE).", ".$this->displaySize(strlen($decodedFileBlob)).")<br/><a href='inc/filepreview.php?id=$fileReference'>"._("Preview")."</a></div>"; |
|
| 399 | 399 | \core\common\Entity::outOfThePotatoes(); |
| 400 | 400 | return $retval; |
| 401 | 401 | } |
@@ -423,7 +423,7 @@ discard block |
||
| 423 | 423 | $retval .= "<tr><td>"; |
| 424 | 424 | } |
| 425 | 425 | $finalCaption = ($caption !== NULL ? $caption : $uiMessages[$level]['text']); |
| 426 | - $retval .= "<img class='icon' src='" . $uiMessages[$level]['icon'] . "' alt='" . $finalCaption . "' title='" . $finalCaption . "'/>"; |
|
| 426 | + $retval .= "<img class='icon' src='".$uiMessages[$level]['icon']."' alt='".$finalCaption."' title='".$finalCaption."'/>"; |
|
| 427 | 427 | if (!$omittabletags) { |
| 428 | 428 | $retval .= "</td><td>"; |
| 429 | 429 | } |
@@ -505,8 +505,8 @@ discard block |
||
| 505 | 505 | return ""; |
| 506 | 506 | } |
| 507 | 507 | |
| 508 | - $loggerInstance->debug(4, "Consortium logo is at: " . ROOT . "/web/resources/images/consortium_logo_large.png"); |
|
| 509 | - $logogd = imagecreatefrompng(ROOT . "/web/resources/images/consortium_logo_large.png"); |
|
| 508 | + $loggerInstance->debug(4, "Consortium logo is at: ".ROOT."/web/resources/images/consortium_logo_large.png"); |
|
| 509 | + $logogd = imagecreatefrompng(ROOT."/web/resources/images/consortium_logo_large.png"); |
|
| 510 | 510 | if ($logogd === FALSE) { // consortium logo is bogus; don't do anything |
| 511 | 511 | return ""; |
| 512 | 512 | } |
@@ -532,7 +532,7 @@ discard block |
||
| 532 | 532 | imagecolorallocate($whiteimage, 255, 255, 255); |
| 533 | 533 | // also make sure the initial placement is a multitude of 12; otherwise "two half" symbols might be affected |
| 534 | 534 | $targetplacementx = (int) ($symbolsize * round(($sizeinput[0] / 2 - ($targetwidth - $symbolsize + 1) / 2) / $symbolsize)); |
| 535 | - $targetplacementy = (int) ($symbolsize * round(($sizeinput[1] / 2 - ($targetheight - $symbolsize + 1 ) / 2) / $symbolsize)); |
|
| 535 | + $targetplacementy = (int) ($symbolsize * round(($sizeinput[1] / 2 - ($targetheight - $symbolsize + 1) / 2) / $symbolsize)); |
|
| 536 | 536 | imagecopyresized($inputgd, $whiteimage, $targetplacementx - $symbolsize, $targetplacementy - $symbolsize, 0, 0, $targetwidth + 2 * $symbolsize, $targetheight + 2 * $symbolsize, $targetwidth + 2 * $symbolsize, $targetheight + 2 * $symbolsize); |
| 537 | 537 | imagecopyresized($inputgd, $logogd, $targetplacementx, $targetplacementy, 0, 0, $targetwidth, $targetheight, $sizelogo[0], $sizelogo[1]); |
| 538 | 538 | ob_start(); |
@@ -579,9 +579,9 @@ discard block |
||
| 579 | 579 | $message = "Your configuration appears to be fine."; |
| 580 | 580 | break; |
| 581 | 581 | default: |
| 582 | - throw new Exception("The result code level " . $test->test_result['global'] . " is not defined!"); |
|
| 582 | + throw new Exception("The result code level ".$test->test_result['global']." is not defined!"); |
|
| 583 | 583 | } |
| 584 | - $out .= $this->boxFlexible($test->test_result['global'], "<br><strong>Test Summary</strong><br>" . $message . "<br>See below for details<br><hr>"); |
|
| 584 | + $out .= $this->boxFlexible($test->test_result['global'], "<br><strong>Test Summary</strong><br>".$message."<br>See below for details<br><hr>"); |
|
| 585 | 585 | foreach ($test->out as $testValue) { |
| 586 | 586 | foreach ($testValue as $o) { |
| 587 | 587 | $out .= $this->boxFlexible($o['level'], $o['message']); |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * <base_url>/copyright.php after deploying the software |
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | -require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php"; |
|
| 22 | +require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php"; |
|
| 23 | 23 | |
| 24 | 24 | $Tests = [ |
| 25 | 25 | 'CatBaseUrl', |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | $uiElements = new \web\lib\admin\UIElements(); |
| 44 | 44 | |
| 45 | -if (\config\Master::CONFIG['FUNCTIONALITY_LOCATIONS']['CONFASSISTANT_SILVERBULLET'] == "LOCAL" || \config\Master::CONFIG['FUNCTIONALITY_LOCATIONS']['CONFASSISTANT_RADIUS'] == "LOCAL" ) { |
|
| 45 | +if (\config\Master::CONFIG['FUNCTIONALITY_LOCATIONS']['CONFASSISTANT_SILVERBULLET'] == "LOCAL" || \config\Master::CONFIG['FUNCTIONALITY_LOCATIONS']['CONFASSISTANT_RADIUS'] == "LOCAL") { |
|
| 46 | 46 | $Tests[] = 'Makensis'; |
| 47 | 47 | $Tests[] = 'Makensis=>NSISmodules'; |
| 48 | 48 | } |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | * |
| 312 | 312 | * @return \devices\xml\CredentialApplicability |
| 313 | 313 | */ |
| 314 | - private function getCredentialApplicability() { |
|
| 314 | + private function getCredentialApplicability() { |
|
| 315 | 315 | $ssids = $this->attributes['internal:SSID']; |
| 316 | 316 | $oids = $this->attributes['internal:consortia']; |
| 317 | 317 | $credentialapplicability = new CredentialApplicability(); |
@@ -472,7 +472,7 @@ discard block |
||
| 472 | 472 | * @return \devices\xml\AuthenticationMethod |
| 473 | 473 | */ |
| 474 | 474 | private function getAuthMethod($eap) { |
| 475 | - // $attr = $this->attributes; |
|
| 475 | + // $attr = $this->attributes; |
|
| 476 | 476 | $authmethod = new AuthenticationMethod(); |
| 477 | 477 | $eapParams = $this->getAuthenticationMethodParams($eap); |
| 478 | 478 | $eaptype = new Type(); |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | namespace devices\xml; |
| 33 | 33 | use Exception; |
| 34 | -require_once dirname(__FILE__) . '/XML.inc.php'; |
|
| 34 | +require_once dirname(__FILE__).'/XML.inc.php'; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * This class implements full functionality of the generic XML device |
@@ -144,11 +144,11 @@ discard block |
||
| 144 | 144 | marshalObject($root, $eapIdp); |
| 145 | 145 | $dom = dom_import_simplexml($root)->ownerDocument; |
| 146 | 146 | //TODO schema validation makes sense so probably should be used |
| 147 | - if ($dom->schemaValidate(ROOT . '/devices/xml/eap-metadata.xsd') === FALSE) { |
|
| 147 | + if ($dom->schemaValidate(ROOT.'/devices/xml/eap-metadata.xsd') === FALSE) { |
|
| 148 | 148 | throw new Exception("Schema validation failed for eap-metadata"); |
| 149 | 149 | } |
| 150 | - file_put_contents($this->installerBasename . '.eap-config', $dom->saveXML()); |
|
| 151 | - return($this->installerBasename . '.eap-config'); |
|
| 150 | + file_put_contents($this->installerBasename.'.eap-config', $dom->saveXML()); |
|
| 151 | + return($this->installerBasename.'.eap-config'); |
|
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | private const ATTRIBUTENAMES = [ |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | $this->loggerInstance->debug(4, "Missing class definition for $attrName\n"); |
| 175 | 175 | return([]); |
| 176 | 176 | } |
| 177 | - $className = "\devices\xml\\" . self::ATTRIBUTENAMES[$attrName]; |
|
| 177 | + $className = "\devices\xml\\".self::ATTRIBUTENAMES[$attrName]; |
|
| 178 | 178 | $objs = []; |
| 179 | 179 | if ($this->langScope === 'global') { |
| 180 | 180 | foreach ($attributeList['langs'] as $language => $value) { |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | $displayname = new DisplayName(); |
| 213 | 213 | if (isset($profileNameLangs)) { |
| 214 | 214 | $langOrC = isset($profileNameLangs[$language]) ? $profileNameLangs[$language] : $profileNameLangs['C']; |
| 215 | - $value .= ' - ' . $langOrC; |
|
| 215 | + $value .= ' - '.$langOrC; |
|
| 216 | 216 | } |
| 217 | 217 | $displayname->setValue($value); |
| 218 | 218 | $displayname->setAttributes(['lang' => $language]); |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | $displayname = new DisplayName(); |
| 223 | 223 | $value = $attr['general:instname'][0]; |
| 224 | 224 | if ($attr['internal:profile_count'][0] > 1) { |
| 225 | - $value .= ' - ' . $attr['profile:name'][0]; |
|
| 225 | + $value .= ' - '.$attr['profile:name'][0]; |
|
| 226 | 226 | } |
| 227 | 227 | $displayname->setValue($value); |
| 228 | 228 | $objs[] = $displayname; |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | $attr = $this->attributes; |
| 240 | 240 | if (isset($attr['general:logo_file'][0])) { |
| 241 | 241 | $logoString = base64_encode($attr['general:logo_file'][0]); |
| 242 | - $logoMime = 'image/' . $attr['internal:logo_file'][0]['mime']; |
|
| 242 | + $logoMime = 'image/'.$attr['internal:logo_file'][0]['mime']; |
|
| 243 | 243 | $providerlogo = new ProviderLogo(); |
| 244 | 244 | $providerlogo->setAttributes(['mime' => $logoMime, 'encoding' => 'base64']); |
| 245 | 245 | $providerlogo->setValue($logoString); |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | |
| 345 | 345 | if (isset($inner["METHOD"]) && $inner["METHOD"]) { |
| 346 | 346 | $innerauthmethod = new InnerAuthenticationMethod(); |
| 347 | - $typeOfInner = "\devices\xml\\" . ($inner["EAP"] ? 'EAPMethod' : 'NonEAPAuthMethod'); |
|
| 347 | + $typeOfInner = "\devices\xml\\".($inner["EAP"] ? 'EAPMethod' : 'NonEAPAuthMethod'); |
|
| 348 | 348 | $eapmethod = new $typeOfInner(); |
| 349 | 349 | $eaptype = new Type(); |
| 350 | 350 | $eaptype->setValue($inner['METHOD']); |
@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | * @param \devices\XML\ClientSideCredential $clientsidecredential |
| 394 | 394 | * @return void |
| 395 | 395 | */ |
| 396 | - private function setClientSideRealm ($clientsidecredential) { |
|
| 396 | + private function setClientSideRealm($clientsidecredential) { |
|
| 397 | 397 | $attr = $this->attributes; |
| 398 | 398 | $realm = \core\common\Entity::getAttributeValue($attr, 'internal:realm', 0); |
| 399 | 399 | if ($realm === NULL) { |