fix casting and docblock for 'boolean', should be 'bool'
Merge pull request #79 from samsonasik/cast.doc

fix casting and docblock for 'boolean', should be 'bool'