[PhpDoc] Replaced 'boolean' by 'Boolean' (@param)
[PhpDoc] Replaced 'boolean' by 'Boolean' (@var)
[PhpDoc] Replaced 'boolean' by 'Boolean' (@return)
[PhpDoc] Replaced 'boolean' by 'Boolean' (all other occurences)
[PhpDoc] Replaced 'int' by 'integer' (@param)

And also re-align some php doc block
[PhpDoc] Replaced 'int' by 'integer' (@return)
[PhpDoc] Replaced 'int' by 'integer' (@var)
Changed all cast from (int) to (integer)