@@ -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 | } |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | entityDescriptors: $children, |
532 | 532 | validUntil: $now, |
533 | 533 | extensions: empty($extensions) ? null : new Extensions($extensions), |
534 | - Name: $this->name, |
|
534 | + Name : $this->name, |
|
535 | 535 | ); |
536 | 536 | |
537 | 537 | return $ret; |
@@ -582,8 +582,7 @@ discard block |
||
582 | 582 | * @return \SimpleSAML\SAML2\XML\md\EntitiesDescriptor The EntitiesDescriptor with only the entities filtered. |
583 | 583 | */ |
584 | 584 | protected function filter(EntitiesDescriptor $descriptor): EntitiesDescriptor |
585 | - {- |
|
586 | - if (empty($this->roles) || empty($this->protocols)) { |
|
585 | + {-if (empty($this->roles) || empty($this->protocols)) { |
|
587 | 586 | return $descriptor; |
588 | 587 | } |
589 | 588 |