Correct php stdClass naming error