ZF-11015: Zend_Controller_Request_HttpTestCase getHeader() return type should default to false

Issue Type: Improvement Created: 2011-01-31T15:54:23.000+0000 Last Updated: 2011-06-21T13:03:20.000+0000 Status: Open Fix version(s): Reporter: Steve Rhoades (sedonami) Assignee: Michelangelo van Dam (dragonbe) Tags: - Zend_Controller

Related issues: Attachments:


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,



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?

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.