summaryrefslogtreecommitdiffstats
path: root/Auth/Yadis
diff options
context:
space:
mode:
authorMarco Ceppi <marco@ceppi.net>2013-12-17 04:16:19 -0800
committerMarco Ceppi <marco@ceppi.net>2013-12-17 04:16:19 -0800
commit2b6c3ea36a4e113732cb559659e31b19622ebade (patch)
tree03fae008027b56d0f0e2d503ade534efe4739940 /Auth/Yadis
parentee669c6a9d4d95b58ecd9b6945627276807694fb (diff)
parent8933fa3017e7b70340cac71b9490234a7f8bebaf (diff)
downloadphp-openid-2b6c3ea36a4e113732cb559659e31b19622ebade.zip
php-openid-2b6c3ea36a4e113732cb559659e31b19622ebade.tar.gz
php-openid-2b6c3ea36a4e113732cb559659e31b19622ebade.tar.bz2
Merge pull request #94 from etienneq/pass-by-reference-fix
issue #8 fix (PHP 5.4 call-time pass-by-reference removed)
Diffstat (limited to 'Auth/Yadis')
-rw-r--r--Auth/Yadis/Manager.php2
-rw-r--r--Auth/Yadis/XRDS.php2
-rw-r--r--Auth/Yadis/Yadis.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/Auth/Yadis/Manager.php b/Auth/Yadis/Manager.php
index 15e6907..664521c 100644
--- a/Auth/Yadis/Manager.php
+++ b/Auth/Yadis/Manager.php
@@ -414,7 +414,7 @@ class Auth_Yadis_Discovery {
list($yadis_url, $services) = call_user_func_array($discover_cb,
array(
$this->url,
- &$fetcher,
+ $fetcher,
));
$manager = $this->createManager($services, $yadis_url);
diff --git a/Auth/Yadis/XRDS.php b/Auth/Yadis/XRDS.php
index 1f5af96..044d1e7 100644
--- a/Auth/Yadis/XRDS.php
+++ b/Auth/Yadis/XRDS.php
@@ -429,7 +429,7 @@ class Auth_Yadis_XRDS {
foreach ($filters as $filter) {
- if (call_user_func_array($filter, array(&$service))) {
+ if (call_user_func_array($filter, array($service))) {
$matches++;
if ($filter_mode == SERVICES_YADIS_MATCH_ANY) {
diff --git a/Auth/Yadis/Yadis.php b/Auth/Yadis/Yadis.php
index 9ea2db7..f885367 100644
--- a/Auth/Yadis/Yadis.php
+++ b/Auth/Yadis/Yadis.php
@@ -141,7 +141,7 @@ function Auth_Yadis_getServiceEndpoints($input_url, $xrds_parse_func,
}
$yadis_result = call_user_func_array($discover_func,
- array($input_url, &$fetcher));
+ array($input_url, $fetcher));
if ($yadis_result === null) {
return array($input_url, array());