From 501f594d090fa3cc0da9dd199f394ec18efd557c Mon Sep 17 00:00:00 2001 From: tailor Date: Fri, 12 Dec 2008 20:13:44 +0000 Subject: [project @ Unify method signatures to reduce E_STRICT warnings] --- Auth/Yadis/HTTPFetcher.php | 2 +- Auth/Yadis/XML.php | 2 +- 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. } -- cgit v1.1