Skip to content

Commit

Permalink
Use array() over [] to pass PHP 5.3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Morton committed Feb 13, 2014
1 parent 1db533d commit 5cdf19f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/Lily/Test/Usage/DescribeTestingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ private function applicationToTest()
$html = file_get_contents(dirname(__FILE__).'/example.html');
return
new MiddlewareApplication(
[new RoutedApplication(
[['POST', '/form', $html]])]);
array(
new RoutedApplication(
array(
array('POST', '/form', $html)))));
}

private function applicationResponse($request)
Expand Down

0 comments on commit 5cdf19f

Please sign in to comment.