MDL-44255 user: tidied up phpdocs and coding style