Skip to content

Commit 02f5f34

Browse files
committed
short array notation in spec
1 parent 31f25d6 commit 02f5f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/MessageFactory/MessageFactoryBehavior.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function it_is_a_message_factory()
1111

1212
function it_creates_a_request()
1313
{
14-
$request = $this->createRequest('GET', '/', array('X-hello' => 'world'), 'lorem');
14+
$request = $this->createRequest('GET', '/', ['X-hello' => 'world'], 'lorem');
1515

1616
$request->shouldHaveType('Psr\Http\Message\RequestInterface');
1717
$request->getMethod()->shouldReturn('GET');

0 commit comments

Comments
 (0)