We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80ae446 + ce1f3c8 commit 2f47a40Copy full SHA for 2f47a40
src/TagHeaderFormatter/MaxHeaderValueLengthFormatter.php
@@ -53,7 +53,7 @@ public function __construct(TagHeaderFormatter $inner, $maxHeaderValueLength = 4
53
*/
54
public function getTagsHeaderName()
55
{
56
- $this->inner->getTagsHeaderName();
+ return $this->inner->getTagsHeaderName();
57
}
58
59
/**
tests/Unit/TagHeaderFormatter/MaxHeaderValueLengthFormatterTest.php
@@ -18,6 +18,12 @@
18
19
class MaxHeaderValueLengthFormatterTest extends TestCase
20
21
+ public function testGetTagsHeaderName()
22
+ {
23
+ $formatter = $this->getFormatter(50);
24
+ $this->assertSame('X-Cache-Tags', $formatter->getTagsHeaderName());
25
+ }
26
+
27
public function testNotTooLong()
28
29
$formatter = $this->getFormatter(50);
0 commit comments