Skip to content
Snippets Groups Projects
Commit 217e7481 authored by Olav Morken's avatar Olav Morken
Browse files

SimpleSAML_IdP: Remove pass-by-reference for functions invoked through call_user_func.

Fixes issue 261.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2131 44740490-163a-0410-bde0-09ae8108e29a
parent 501296d0
No related branches found
No related tags found
No related merge requests found
...@@ -136,9 +136,9 @@ class SimpleSAML_IdP { ...@@ -136,9 +136,9 @@ class SimpleSAML_IdP {
/** /**
* Called after authproc has run. * Called after authproc has run.
* *
* @param array &$state The authentication request state array. * @param array $state The authentication request state array.
*/ */
public static function postAuthProc(array &$state) { public static function postAuthProc(array $state) {
assert('is_callable($state["Responder"])'); assert('is_callable($state["Responder"])');
if (isset($state['core:SP'])) { if (isset($state['core:SP'])) {
...@@ -155,9 +155,9 @@ class SimpleSAML_IdP { ...@@ -155,9 +155,9 @@ class SimpleSAML_IdP {
/** /**
* The user is authenticated. * The user is authenticated.
* *
* @param array &$state The authentication request state arrray. * @param array $state The authentication request state arrray.
*/ */
public static function postAuth(array &$state) { public static function postAuth(array $state) {
$idp = SimpleSAML_IdP::getByState($state); $idp = SimpleSAML_IdP::getByState($state);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment