Fixing coding style, using \ReflectionClass in PHP 5.6