Skip to content

Commit bbf4e5c

Browse files
committed
test and static-analysis fix
1 parent b9eb479 commit bbf4e5c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎src/App/src/Handler/PostCreateContactHandler.php‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,18 @@
1818
use function is_array;
1919
use function is_string;
2020

21+
/**
22+
* @phpstan-type IpAddressConfigType array{
23+
* check_proxy_headers: bool,
24+
* trusted_proxies: array<non-empty-string>,
25+
* attribute_name: non-empty-string,
26+
* headers_to_inspect: array<non-empty-string>,
27+
* }
28+
*/
2129
class PostCreateContactHandler implements RequestHandlerInterface
2230
{
2331
/**
24-
* @param array{check_proxy_headers: bool, trusted_proxies: array<non-empty-string>, attribute_name: non-empty-string, headers_to_inspect: array<non-empty-string>} $ipAddressConfig
32+
* @param IpAddressConfigType $ipAddressConfig
2533
*/
2634
#[Inject(
2735
TemplateRendererInterface::class,

0 commit comments

Comments
 (0)