ZF-11015: Zend_Controller_Request_HttpTestCase getHeader() return type should default to false
Description
Zend_Controller_Request_HttpTestCase::getHeader($header, $default = null)
It would be reasonable to assume that the default return type of this class should match the default return type of Zend_Controller_Request_Http::getHeader($header) which is false.
I propose changing the method declaration to the following: Zend_Controller_Request_HttpTestCase::getHeader($header, $default = false)
Thanks so much,
Steve
Comments
Posted by Michelangelo van Dam (dragonbe) on 2011-06-21T13:03:19.000+0000
In which version did you experience this? I'm running the latest now (1.11.7) and it appears to be fixed already?