mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed PHPstan issues
This commit is contained in:
parent
b9331ac1ef
commit
133652c296
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ class DisallowSearchEngineIndexingRequestListener
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$event->getResponse()->headers->has(static::HEADER_NAME)) {
|
if (!$event->getResponse()->headers->has(self::HEADER_NAME)) {
|
||||||
$event->getResponse()->headers->set(static::HEADER_NAME, 'noindex');
|
$event->getResponse()->headers->set(self::HEADER_NAME, 'noindex');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue