You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Zend_View_Helper_HeadLink to append a stylesheet as the documentation says a notice is thrown.
This is due to extras being undefined when calling compact on line 393.
Reproduce
class HeadLinkTest extends \PHPUnit\Framework\TestCase
{
public function test()
{
$this->expectException(\PHPUnit\Framework\Error\Notice::class);
$helper = new \Zend_View_Helper_HeadLink();
$helper->appendStylesheet('foo.css');
}
}
The text was updated successfully, but these errors were encountered:
When using
Zend_View_Helper_HeadLink
to append a stylesheet as the documentation says a notice is thrown.This is due to
extras
being undefined when callingcompact
on line 393.Reproduce
The text was updated successfully, but these errors were encountered: