@@ -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/'), |
@@ -177,7 +177,7 @@ |
||
177 | 177 | } catch (Exception $e) { |
178 | 178 | Logger::error( |
179 | 179 | $this->logLoc . 'Unable to parse metadata from ' . |
180 | - var_export($this->url, true) . ': ' . $e->getMessage() |
|
180 | + var_export($this->url, true) . ': ' . $e->getMessage() |
|
181 | 181 | ); |
182 | 182 | return null; |
183 | 183 | } |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * @return \SimpleSAML\SAML2\XML\md\EntitiesDescriptor|\SAML2\XML\md\EntityDescriptor|null |
120 | 120 | * The downloaded metadata or NULL if we were unable to download or parse it. |
121 | 121 | */ |
122 | - private function downloadMetadata(): EntitiesDescriptor|EntityDescriptor|null |
|
122 | + private function downloadMetadata(): EntitiesDescriptor | EntityDescriptor | null |
|
123 | 123 | { |
124 | 124 | Logger::debug($this->logLoc . 'Downloading metadata from ' . var_export($this->url, true)); |
125 | 125 | $configUtils = new Utils\Config(); |
@@ -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; |