[PhpDoc] Replaced 'int' by 'integer' to increase consistency

And also re-align some php doc block