Skip to content

Commit

Permalink
Fixed PHPstan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtronics committed Aug 23, 2023
1 parent b9331ac commit 133652c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public function __invoke(ResponseEvent $event): void
return;
}

if (!$event->getResponse()->headers->has(static::HEADER_NAME)) {
$event->getResponse()->headers->set(static::HEADER_NAME, 'noindex');
if (!$event->getResponse()->headers->has(self::HEADER_NAME)) {
$event->getResponse()->headers->set(self::HEADER_NAME, 'noindex');
}
}
}

0 comments on commit 133652c

Please sign in to comment.