Skip to content

Commit 8c19cb6

Browse files
committed
Add missing return this in taggers
1 parent f4702f3 commit 8c19cb6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/ResponseTagger/Delegator/DispatcherTagger.php

+2
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,7 @@ public function tag(ResponseCacheConfigurator $configurator, Response $response,
2626
foreach ($this->taggers as $tagger) {
2727
$tagger->tag($configurator, $response, $value);
2828
}
29+
30+
return $this;
2931
}
3032
}

src/ResponseTagger/Value/ContentInfoTagger.php

+2
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ public function tag(ResponseCacheConfigurator $configurator, Response $response,
2323
if ($value->mainLocationId) {
2424
$configurator->addTags($response, ['location-' . $value->mainLocationId]);
2525
}
26+
27+
return $this;
2628
}
2729
}

0 commit comments

Comments
 (0)