Completed
Pull Request — master (#1)
by
unknown
04:04 queued 01:01
created
index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 $app = new \Slim\App();
6 6
 
7
-$app->get('/hello/{name}', function ($request, $response, $args) {
8
-    $response->write("Hello, " . $args['name']);
7
+$app->get('/hello/{name}', function($request, $response, $args) {
8
+    $response->write("Hello, ".$args['name']);
9 9
     return $response;
10 10
 });
11 11
 
Please login to merge, or discard this patch.
src/App.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
         $app = new \Slim\App();
15 15
 
16
-        $app->get('/hello/{name}', function ($request, $response, $args) {
17
-            $response->write("Hello, " . $args['name']);
16
+        $app->get('/hello/{name}', function($request, $response, $args) {
17
+            $response->write("Hello, ".$args['name']);
18 18
             return $response;
19 19
         });
20 20
 
Please login to merge, or discard this patch.
src/Router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 {
8 8
     public function __invoke(SlimRouter $app)
9 9
     {
10
-        $app->get('/hello', function ($request, $response) {
10
+        $app->get('/hello', function($request, $response) {
11 11
             $response->write("Hello");
12 12
             return $response;
13 13
         });
Please login to merge, or discard this patch.