Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d97f857

Browse filesBrowse files
committed
No longer use short notation for array #2
1 parent a941970 commit d97f857
Copy full SHA for d97f857

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpKernel/Tests/EventListener/TestSessionListenerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Tests/EventListener/TestSessionListenerTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function testEmptySessionWithNewSessionIdDoesSendCookie()
9797
$this->fixSessionId('456');
9898

9999
$kernel = $this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock();
100-
$request = Request::create('/', 'GET', array(), [new Cookie(self::SESSION_NAME, '123')]);
100+
$request = Request::create('/', 'GET', array(), array(new Cookie(self::SESSION_NAME, '123')));
101101
$event = new GetResponseEvent($kernel, $request, HttpKernelInterface::MASTER_REQUEST);
102102
$this->listener->onKernelRequest($event);
103103

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.