Skip to content

Commit

Permalink
psr2 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
szabogyula committed Mar 1, 2016
1 parent 23d25a5 commit d09f5b8
Show file tree
Hide file tree
Showing 5 changed files with 471 additions and 473 deletions.
6 changes: 2 additions & 4 deletions config-templates/module_aa.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
//'signResponse' => TRUE,

/**
* Sign the whole assertion, default is false.
*/
* Sign the whole assertion, default is false.
*/
//'signAssertion' => FALSE,

);


19 changes: 10 additions & 9 deletions hooks/hook_frontpage.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<?php

/**
* Hook to add the modinfo module to the frontpage.
*
* @param array &$links The links on the frontpage, split into sections.
* @param array &$links The links on the frontpage, split into sections.
*/
function aa_hook_frontpage(&$links) {
assert('is_array($links)');
assert('array_key_exists("links", $links)');
function aa_hook_frontpage(&$links)
{
assert('is_array($links)');
assert('array_key_exists("links", $links)');

$links['federation'][] = array(
'href' => SimpleSAML_Module::getModuleURL('aa/metadata.php?output=xhtml'),
'text' => '{aa:aa:text}',
);
$links['federation'][] = array(
'href' => SimpleSAML_Module::getModuleURL('aa/metadata.php?output=xhtml'),
'text' => '{aa:aa:text}',
);
}
?>
Loading

0 comments on commit d09f5b8

Please sign in to comment.