Revision: 2131
Author: olavmrk
Date: Sun Jan 24 23:19:07 2010
Log: SimpleSAML_IdP: Remove pass-by-reference for functions invoked through call_user_func.

Fixes issue 261.
http://code.google.com/p/simplesamlphp/source/detail?r=2131

Modified:
 /trunk/lib/SimpleSAML/IdP.php

=======================================
--- /trunk/lib/SimpleSAML/IdP.php       Fri Jan 22 01:13:52 2010
+++ /trunk/lib/SimpleSAML/IdP.php       Sun Jan 24 23:19:07 2010
@@ -136,9 +136,9 @@
        /**
         * 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 @@
        /**
         * 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);

--
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en.

Reply via email to