From 217e748143120982e82ebc63c1d8cc8c47e082f5 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Mon, 25 Jan 2010 07:19:07 +0000 Subject: [PATCH] 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 --- lib/SimpleSAML/IdP.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/SimpleSAML/IdP.php b/lib/SimpleSAML/IdP.php index 1800365cb..2a17c5476 100644 --- a/lib/SimpleSAML/IdP.php +++ b/lib/SimpleSAML/IdP.php @@ -136,9 +136,9 @@ class SimpleSAML_IdP { /** * 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"])'); if (isset($state['core:SP'])) { @@ -155,9 +155,9 @@ class SimpleSAML_IdP { /** * 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); -- GitLab