Revert "Implement __get() placeholder to prevent a flood of E_NOTICE"

This reverts commit 32fd2fb609.
This commit is contained in:
Kijin Sung 2016-01-09 10:16:21 +09:00
parent 32fd2fb609
commit 45d9382af9

View file

@ -1945,19 +1945,6 @@ class Context
return $url[$ssl_mode][$domain_key];
}
/**
* Magic method to return null instead of throwing E_NOTICE when undefined properties are accessed
*
* We do not define a corresponding __set() because it does not work with assignment by reference.
*
* @param string $key
* @return null
*/
public function __get($key)
{
return null;
}
/**
* Set a context value with a key
*