@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | $dom = new \DOMDocument('1.0', 'utf-8'); |
145 | 145 | $root = $dom->createElement($rootname); |
146 | 146 | $dom->appendChild($root); |
147 | - $ns = $dom->createAttributeNS( 'http://www.w3.org/2001/XMLSchema-instance', 'xsi:noNamespaceSchemaLocation' ); |
|
147 | + $ns = $dom->createAttributeNS('http://www.w3.org/2001/XMLSchema-instance', 'xsi:noNamespaceSchemaLocation'); |
|
148 | 148 | $ns->value = "eap-metadata.xsd"; |
149 | 149 | $root->appendChild($ns); |
150 | 150 | |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | foreach ($this->attributes['internal:networks'] as $netName => $netDefinition) { |
171 | 171 | if ($netDefinition['condition'] === 'internal:openroaming' && |
172 | 172 | $this->attributes['internal:openroaming'] && |
173 | - preg_match("/^ask/",$this->attributes['media:openroaming'][0])) { |
|
173 | + preg_match("/^ask/", $this->attributes['media:openroaming'][0])) { |
|
174 | 174 | $orNetwork = $netDefinition; |
175 | 175 | continue; |
176 | 176 | } |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | $authMethods = new \core\DeviceXMLmain(); |
228 | 228 | $authMethods->setChild('AuthenticationMethod', $this->authMethodsList); |
229 | 229 | $eapIdp->setChild('AuthenticationMethods', $authMethods); |
230 | - $eapIdp->setChild('CredentialApplicability', $this->getCredentialApplicability($ssids,$oids)); |
|
230 | + $eapIdp->setChild('CredentialApplicability', $this->getCredentialApplicability($ssids, $oids)); |
|
231 | 231 | // TODO $eap_idp->setChild('ValidUntil',$this->getValidUntil()); |
232 | 232 | $eapIdp->setChild('ProviderInfo', $this->providerInfo); |
233 | 233 | // TODO $eap_idp->setChild('VendorSpecific',$this->getVendorSpecific()); |