Skip to content

Commit

Permalink
use class name
Browse files Browse the repository at this point in the history
  • Loading branch information
withinboredom committed Jan 13, 2024
1 parent 0f8df7d commit be03252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hooks/Api/Invoker.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function process(ServerRequestInterface $request, ResponseInterface $resp

// now determine cache control headers
$tokenizer = $this->factory->make(Tokenizer::class);
$attributes = Attributes::forClass($component);
$attributes = Attributes::forClass($component::class);
foreach ($attributes->classAttributes as $attribute) {
if ($attribute instanceof AbstractCache) {
$tokenizer = $attribute->tokenize($tokenizer);
Expand Down

0 comments on commit be03252

Please sign in to comment.