diff options
author | Oleksandr Zahorulia <Hast4656@gmail.com> | 2016-09-30 22:50:50 +0300 |
---|---|---|
committer | Marco Ceppi <marco@ceppi.net> | 2016-09-30 21:50:50 +0200 |
commit | d8ef0dba1fa378fc22fe6d423f9423febb2d996d (patch) | |
tree | 125e225306ac315f85f6f950e6e1ac1e72f804d8 /Auth/Yadis/XRDS.php | |
parent | 924f9aa42453cd0f9dba72587b4e2cdf7f4de874 (diff) | |
download | php-openid-d8ef0dba1fa378fc22fe6d423f9423febb2d996d.zip php-openid-d8ef0dba1fa378fc22fe6d423f9423febb2d996d.tar.gz php-openid-d8ef0dba1fa378fc22fe6d423f9423febb2d996d.tar.bz2 |
#130: PHP 7 compatibility (fixes #129)HEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'Auth/Yadis/XRDS.php')
-rw-r--r-- | Auth/Yadis/XRDS.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Auth/Yadis/XRDS.php b/Auth/Yadis/XRDS.php index 044d1e7..4f1ede0 100644 --- a/Auth/Yadis/XRDS.php +++ b/Auth/Yadis/XRDS.php @@ -85,7 +85,7 @@ class Auth_Yadis_Service { /** * Creates an empty service object. */ - function Auth_Yadis_Service() + function __construct() { $this->element = null; $this->parser = null; @@ -255,7 +255,7 @@ class Auth_Yadis_XRDS { * Instantiate a Auth_Yadis_XRDS object. Requires an XPath * instance which has been used to parse a valid XRDS document. */ - function Auth_Yadis_XRDS($xmlParser, $xrdNodes) + function __construct($xmlParser, $xrdNodes) { $this->parser = $xmlParser; $this->xrdNode = $xrdNodes[count($xrdNodes) - 1]; |