@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * |
| 12 | 12 | * @param \SimpleSAML\XHTML\Template &$template The template that we should alter in this hook. |
| 13 | 13 | */ |
| 14 | -function aggregator2_hook_configpage(Template &$template): void |
|
| 14 | +function aggregator2_hook_configpage(Template & $template): void |
|
| 15 | 15 | { |
| 16 | 16 | $template->data['links'][] = [ |
| 17 | 17 | 'href' => Module::getModuleURL('aggregator2/'), |
@@ -530,7 +530,7 @@ |
||
| 530 | 530 | entityDescriptors: $children, |
| 531 | 531 | validUntil: $now, |
| 532 | 532 | extensions: empty($extensions) ? null : new Extensions($extensions), |
| 533 | - Name: $this->name, |
|
| 533 | + Name : $this->name, |
|
| 534 | 534 | ); |
| 535 | 535 | |
| 536 | 536 | return $ret; |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * |
| 77 | 77 | * @var \SimpleSAML\SAML2\XML\md\EntitiesDescriptor|\SimpleSAML\SAML2\XML\md\EntityDescriptor|null |
| 78 | 78 | */ |
| 79 | - protected EntityDescriptor|EntitiesDescriptor|null $metadata = null; |
|
| 79 | + protected EntityDescriptor | EntitiesDescriptor | null $metadata = null; |
|
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | 82 | * The cache ID. |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | * @return \SimpleSAML\SAML2\XML\md\EntitiesDescriptor|\SimpleSAML\SAML2\XML\md\EntityDescriptor|null |
| 130 | 130 | * The downloaded metadata or NULL if we were unable to download or parse it. |
| 131 | 131 | */ |
| 132 | - private function downloadMetadata(): EntitiesDescriptor|EntityDescriptor|null |
|
| 132 | + private function downloadMetadata(): EntitiesDescriptor | EntityDescriptor | null |
|
| 133 | 133 | { |
| 134 | 134 | Logger::debug($this->logLoc . 'Downloading metadata from ' . var_export($this->url, true)); |
| 135 | 135 | $configUtils = new Utils\Config(); |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | * @return \SimpleSAML\SAML2\XML\md\EntityDescriptor|\SimpleSAML\SAML2\XML\md\EntitiesDescriptor|null |
| 253 | 253 | * The downloaded metadata. |
| 254 | 254 | */ |
| 255 | - public function getMetadata(): EntityDescriptor|EntitiesDescriptor|null |
|
| 255 | + public function getMetadata(): EntityDescriptor | EntitiesDescriptor | null |
|
| 256 | 256 | { |
| 257 | 257 | if ($this->metadata !== null) { |
| 258 | 258 | /* We have already downloaded the metdata. */ |