summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/Message.php
diff options
context:
space:
mode:
authorOleksandr Zahorulia <Hast4656@gmail.com>2016-09-30 22:50:50 +0300
committerMarco Ceppi <marco@ceppi.net>2016-09-30 21:50:50 +0200
commitd8ef0dba1fa378fc22fe6d423f9423febb2d996d (patch)
tree125e225306ac315f85f6f950e6e1ac1e72f804d8 /Auth/OpenID/Message.php
parent924f9aa42453cd0f9dba72587b4e2cdf7f4de874 (diff)
downloadphp-openid-origin/HEAD.zip
php-openid-origin/HEAD.tar.gz
php-openid-origin/HEAD.tar.bz2
#130: PHP 7 compatibility (fixes #129)HEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'Auth/OpenID/Message.php')
-rw-r--r--Auth/OpenID/Message.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Auth/OpenID/Message.php b/Auth/OpenID/Message.php
index 16ec1c1..41a8a31 100644
--- a/Auth/OpenID/Message.php
+++ b/Auth/OpenID/Message.php
@@ -127,7 +127,7 @@ class Auth_OpenID_Mapping {
* Initialize a mapping. If $classic_array is specified, its keys
* and values are used to populate the mapping.
*/
- function Auth_OpenID_Mapping($classic_array = null)
+ function __construct($classic_array = null)
{
$this->keys = array();
$this->values = array();
@@ -274,7 +274,7 @@ class Auth_OpenID_Mapping {
* @package OpenID
*/
class Auth_OpenID_NamespaceMap {
- function Auth_OpenID_NamespaceMap()
+ function __construct()
{
$this->alias_to_namespace = new Auth_OpenID_Mapping();
$this->namespace_to_alias = new Auth_OpenID_Mapping();
@@ -414,7 +414,7 @@ class Auth_OpenID_NamespaceMap {
*/
class Auth_OpenID_Message {
- function Auth_OpenID_Message($openid_namespace = null)
+ function __construct($openid_namespace = null)
{
// Create an empty Message
$this->allowed_openid_namespaces = array(