Updated OMB_Yadis_XRDS for compatibility with php-openid 2.2.2: Auth_Yadis_XRDS::parseXRDS() is now declared static, and PHP 5.3 demands it say so on the subclass too.

Compat fix branch for upstream: 6589dc073f
This commit is contained in:
Brion Vibber 2010-06-29 14:44:21 -04:00
parent 15b1d130d2
commit c5e89527d9

View File

@ -155,7 +155,7 @@ class OMB_Yadis_XRDS extends Auth_Yadis_XRDS
* @return mixed An instance of OMB_Yadis_XRDS or null,
* depending on the validity of $xml_string
*/
public function parseXRDS($xml_string, $extra_ns_map = null)
public static function parseXRDS($xml_string, $extra_ns_map = null)
{
$_null = null;