From 6a4ffec7ddd23b4eeb0131088f19c50fd86b22b5 Mon Sep 17 00:00:00 2001 From: Bryan Crowe Date: Fri, 16 Jan 2015 18:24:08 -0500 Subject: [PATCH] Fix closure PSR2 CS --- tests/RouteCollectionTest.php | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/tests/RouteCollectionTest.php b/tests/RouteCollectionTest.php index 4383177..985f7d1 100644 --- a/tests/RouteCollectionTest.php +++ b/tests/RouteCollectionTest.php @@ -53,13 +53,27 @@ public function testSetsRoutesViaConvenienceMethodsWithClosures() { $router = new RouteCollection; - $router->get('/route/{wildcard}', function () { return 'get'; }); - $router->post('/route/{wildcard}', function () { return 'post'; }); - $router->put('/route/{wildcard}', function () { return 'put'; }); - $router->patch('/route/{wildcard}', function () { return 'patch'; }); - $router->delete('/route/{wildcard}', function () { return 'delete'; }); - $router->head('/route/{wildcard}', function () { return 'head'; }); - $router->options('/route/{wildcard}', function () { return 'options'; }); + $router->get('/route/{wildcard}', function () { + return 'get'; + }); + $router->post('/route/{wildcard}', function () { + return 'post'; + }); + $router->put('/route/{wildcard}', function () { + return 'put'; + }); + $router->patch('/route/{wildcard}', function () { + return 'patch'; + }); + $router->delete('/route/{wildcard}', function () { + return 'delete'; + }); + $router->head('/route/{wildcard}', function () { + return 'head'; + }); + $router->options('/route/{wildcard}', function () { + return 'options'; + }); $routes = (new \ReflectionClass($router))->getProperty('routes'); $routes->setAccessible(true);