Fix visibility warning

This commit is contained in:
Victor Dubiniuk 2014-04-14 18:44:06 +03:00
parent f45c360c53
commit bb0310942f

View File

@ -207,7 +207,7 @@ abstract class Db {
return $result;
}
protected function __call($name, $arguments){
public function __call($name, $arguments){
if (substr($name, 0, 3) === 'get'){
$requestedProperty = substr($name, 3);
$property = strtolower(preg_replace('/(.)([A-Z])/', "$1_$2", $requestedProperty));