8000 fixed issue with PHP 5.3 · symfony/symfony@2a81142 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2a81142

Browse files
committed
fixed issue with PHP 5.3
1 parent afa4d52 commit 2a81142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Monolog/Tests/Processor/WebProcessorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testUsesRequestServerData()
3636

3737
public function testUseRequestClientIp()
3838
{
39-
Request::setTrustedProxies(['192.168.0.1']);
39+
Request::setTrustedProxies(array('192.168.0.1'));
4040
list($event, $server) = $this->createRequestEvent(array('X_FORWARDED_FOR' => '192.168.0.2'));
4141

4242
$processor = new WebProcessor();

0 commit comments

Comments
 (0)
0