Skip to content

Commit 501f594

Browse files
author
tailor
committed
[project @ Unify method signatures to reduce E_STRICT warnings]
1 parent cbb875a commit 501f594

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Auth/Yadis/HTTPFetcher.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function _findRedirect($headers)
138138
* pass the URLHasAllowedScheme check or if the server's response
139139
* is malformed.
140140
*/
141-
function get($url, $headers)
141+
function get($url, $headers = null)
142142
{
143143
trigger_error("not implemented", E_USER_ERROR);
144144
}

Auth/Yadis/XML.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function setXML($xml_string)
9191
* @return array $node_list An array of matching opaque node
9292
* objects to be used with other methods of this parser class.
9393
*/
94-
function evalXPath($xpath, $node = null)
94+
function &evalXPath($xpath, $node = null)
9595
{
9696
// Not implemented.
9797
}

0 commit comments

Comments
 (0)