Ibmurai/frood — Issue #5: Weird exception when passing a wrong type to an optional <null> parameter
Author: Ibmurai
Created: 2012-01-03 06:14:43+00:00
State: open

Example:
* @param boolean $class An optional string to assign to the template.

If 'lol' is passed as Class, it will give an exception stating that null could not be cast as boolean... It's kinda sorta correct, but confusing.

It would be better off saying that 'lol' could not be cast as boolean.