mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Revert "Implement __get() placeholder to prevent a flood of E_NOTICE"
This reverts commit 32fd2fb609.
This commit is contained in:
parent
32fd2fb609
commit
45d9382af9
1 changed files with 0 additions and 13 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue