Skip to content

Commit 2a92a59

Browse files
committed
Add code completion to the Request::setIpKey method
1 parent 2b577e6 commit 2a92a59

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.phpstorm.meta.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,17 @@
604604
'bin2hex',
605605
'md5',
606606
);
607+
registerArgumentsSet(
608+
'ip_keys',
609+
'HTTP_CF_CONNECTING_IP',
610+
'HTTP_CLIENT_IP',
611+
'HTTP_FORWARDED_FOR',
612+
'HTTP_FORWARDED',
613+
'HTTP_X_CLUSTER_CLIENT_IP',
614+
'HTTP_X_FORWARDED_FOR',
615+
'HTTP_X_FORWARDED',
616+
'REMOTE_ADDR',
617+
);
607618
expectedArguments(
608619
\Framework\HTTP\AntiCSRF::__construct(),
609620
2,
@@ -731,6 +742,11 @@
731742
0,
732743
argumentsSet('request_headers')
733744
);
745+
expectedArguments(
746+
\Framework\HTTP\Request::setIpKey(),
747+
0,
748+
argumentsSet('ip_keys')
749+
);
734750
expectedArguments(
735751
\Framework\HTTP\Request::hasHeader(),
736752
0,

0 commit comments

Comments
 (0)