Skip to content

Commit d09f5b8

Browse files
committed
psr2 fixes
1 parent 23d25a5 commit d09f5b8

File tree

5 files changed

+471
-473
lines changed

5 files changed

+471
-473
lines changed

config-templates/module_aa.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@
1818
//'signResponse' => TRUE,
1919

2020
/**
21-
* Sign the whole assertion, default is false.
22-
*/
21+
* Sign the whole assertion, default is false.
22+
*/
2323
//'signAssertion' => FALSE,
2424

2525
);
26-
27-

hooks/hook_frontpage.php

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
<?php
2+
23
/**
34
* Hook to add the modinfo module to the frontpage.
45
*
5-
* @param array &$links The links on the frontpage, split into sections.
6+
* @param array &$links The links on the frontpage, split into sections.
67
*/
7-
function aa_hook_frontpage(&$links) {
8-
assert('is_array($links)');
9-
assert('array_key_exists("links", $links)');
8+
function aa_hook_frontpage(&$links)
9+
{
10+
assert('is_array($links)');
11+
assert('array_key_exists("links", $links)');
1012

11-
$links['federation'][] = array(
12-
'href' => SimpleSAML_Module::getModuleURL('aa/metadata.php?output=xhtml'),
13-
'text' => '{aa:aa:text}',
14-
);
13+
$links['federation'][] = array(
14+
'href' => SimpleSAML_Module::getModuleURL('aa/metadata.php?output=xhtml'),
15+
'text' => '{aa:aa:text}',
16+
);
1517
}
16-
?>

0 commit comments

Comments
 (0)