Minor code style modifications.
PHPDoc updates.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>