fix php dockblock : boolean should be bool
fix (bool) casting : space and use (bool) instead of (boolean) to cast
Merge pull request #4099 from samsonasik/fix/cast.bool

fix (bool) casting : add space and use (bool) instead of (boolean) to cast