Skip to content

Commit

Permalink
Cleanup files
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdekker committed Nov 28, 2023
1 parent b51e422 commit 098863b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#"
count: 1
path: src/DependencyInjection/Configuration.php

-
message: "#^Parameter \\#1 \\$mergedConfig \\(array\\{request_header\\: string, trust_request_header\\: bool, response_header\\: string, storage_service\\: string\\|null, generator_service\\: string\\|null, enable_monolog\\: bool, enable_console\\: bool, enable_twig\\: bool\\}\\) of method DR\\\\SymfonyRequestId\\\\DependencyInjection\\\\SymfonyRequestIdExtension\\:\\:loadInternal\\(\\) should be contravariant with parameter \\$mergedConfig \\(array\\) of method Symfony\\\\Component\\\\HttpKernel\\\\DependencyInjection\\\\ConfigurableExtension\\:\\:loadInternal\\(\\)$#"
count: 1
path: src/DependencyInjection/SymfonyRequestIdExtension.php
4 changes: 2 additions & 2 deletions src/RequestIdStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface RequestIdStorage
/**
* @return string|null Null if the request does not have an identifier
*/
public function getRequestId() : ?string;
public function getRequestId(): ?string;

public function setRequestId(?string $id) : void;
public function setRequestId(?string $id): void;
}

0 comments on commit 098863b

Please sign in to comment.