replaced get_called_class() with get_class($this) in non-static context
Merge pull request #4246 from prolic/get_class_fix

replaced get_called_class() with get_class($this) in non-static context
Merge branch 'hotfix/4246'

Close #4246