Fix visibility warning
This commit is contained in:
parent
f45c360c53
commit
bb0310942f
@ -207,7 +207,7 @@ abstract class Db {
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function __call($name, $arguments){
|
public function __call($name, $arguments){
|
||||||
if (substr($name, 0, 3) === 'get'){
|
if (substr($name, 0, 3) === 'get'){
|
||||||
$requestedProperty = substr($name, 3);
|
$requestedProperty = substr($name, 3);
|
||||||
$property = strtolower(preg_replace('/(.)([A-Z])/', "$1_$2", $requestedProperty));
|
$property = strtolower(preg_replace('/(.)([A-Z])/', "$1_$2", $requestedProperty));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user