@@ -71,10 +71,10 @@ |
||
| 71 | 71 | ->add(new EntityIdCriteria($entityDescriptor->getEntityID())) |
| 72 | 72 | ->add(new UsageCriteria(UsageType::SIGNING)) |
| 73 | 73 | ->add(new X509CredentialCriteria()) |
| 74 | - ->addIf(ProfileContext::ROLE_IDP === $profileContext->getOwnRole(), function () { |
|
| 74 | + ->addIf(ProfileContext::ROLE_IDP === $profileContext->getOwnRole(), function() { |
|
| 75 | 75 | return new MetadataCriteria(MetadataCriteria::TYPE_IDP, SamlConstants::VERSION_20); |
| 76 | 76 | }) |
| 77 | - ->addIf(ProfileContext::ROLE_SP === $profileContext->getOwnRole(), function () { |
|
| 77 | + ->addIf(ProfileContext::ROLE_SP === $profileContext->getOwnRole(), function() { |
|
| 78 | 78 | return new MetadataCriteria(MetadataCriteria::TYPE_SP, SamlConstants::VERSION_20); |
| 79 | 79 | }) |
| 80 | 80 | ; |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | libxml_clear_errors(); |
| 48 | 48 | $doc = new \DOMDocument(); |
| 49 | 49 | |
| 50 | - set_error_handler(function ($errno, $errstr, $errfile, $errline, array $errcontext) use (&$result) { |
|
| 50 | + set_error_handler(function($errno, $errstr, $errfile, $errline, array $errcontext) use (&$result) { |
|
| 51 | 51 | $error = new XsdError(XsdError::FATAL, $errno, $errstr, 0, 0); |
| 52 | 52 | $result[] = $error; |
| 53 | 53 | }); |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | throw new LightSamlContextException($context, $message); |
| 78 | 78 | } |
| 79 | 79 | $this->logger->info('Trusted decryption candidates', LogHelper::getActionContext($context, $this, array( |
| 80 | - 'credentials' => array_map(function (CredentialInterface $credential) { |
|
| 80 | + 'credentials' => array_map(function(CredentialInterface $credential) { |
|
| 81 | 81 | return sprintf( |
| 82 | 82 | "Entity: '%s'; PK X509 Thumb: '%s'", |
| 83 | 83 | $credential->getEntityId(), |