summaryrefslogtreecommitdiffstats
path: root/Auth
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2008-12-12 20:13:44 +0000
committertailor <cygnus@janrain.com>2008-12-12 20:13:44 +0000
commit501f594d090fa3cc0da9dd199f394ec18efd557c (patch)
tree57d8125a527cfc75a58cf3f1178d6862dcb4726c /Auth
parentcbb875a00da153ec157533fe3f0a0f59b0a3098c (diff)
downloadphp-openid-501f594d090fa3cc0da9dd199f394ec18efd557c.zip
php-openid-501f594d090fa3cc0da9dd199f394ec18efd557c.tar.gz
php-openid-501f594d090fa3cc0da9dd199f394ec18efd557c.tar.bz2
[project @ Unify method signatures to reduce E_STRICT warnings]
Diffstat (limited to 'Auth')
-rw-r--r--Auth/Yadis/HTTPFetcher.php2
-rw-r--r--Auth/Yadis/XML.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Auth/Yadis/HTTPFetcher.php b/Auth/Yadis/HTTPFetcher.php
index a182540..963b9a4 100644
--- a/Auth/Yadis/HTTPFetcher.php
+++ b/Auth/Yadis/HTTPFetcher.php
@@ -138,7 +138,7 @@ class Auth_Yadis_HTTPFetcher {
* pass the URLHasAllowedScheme check or if the server's response
* is malformed.
*/
- function get($url, $headers)
+ function get($url, $headers = null)
{
trigger_error("not implemented", E_USER_ERROR);
}
diff --git a/Auth/Yadis/XML.php b/Auth/Yadis/XML.php
index 4854f12..81b2ce2 100644
--- a/Auth/Yadis/XML.php
+++ b/Auth/Yadis/XML.php
@@ -91,7 +91,7 @@ class Auth_Yadis_XMLParser {
* @return array $node_list An array of matching opaque node
* objects to be used with other methods of this parser class.
*/
- function evalXPath($xpath, $node = null)
+ function &evalXPath($xpath, $node = null)
{
// Not implemented.
}