Add return types
This commit is contained in:
parent
f2785bca03
commit
05311ac7b6
21 changed files with 84 additions and 78 deletions
|
@ -34,7 +34,7 @@ class CspMiddleware
|
|||
* @param Response $response
|
||||
* @return MessageInterface
|
||||
*/
|
||||
public function applyHeader(Response $response)
|
||||
public function applyHeader(Response $response): MessageInterface
|
||||
{
|
||||
$csp = new CSPBuilder();
|
||||
$csp->addDirective('default-src', [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue