diff options
-rw-r--r-- | Auth/Yadis/HTTPFetcher.php | 2 | ||||
-rw-r--r-- | 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. } |