Completed
Push — master ( 67dd2d...34ad05 )
by Marco
02:56
created
example/HttpExpressive.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Marcosh\EffectorExample;
6 6
 
@@ -35,16 +35,16 @@  discard block
 block discarded – undo
35 35
 $expressive->pipeRoutingMiddleware();
36 36
 $expressive->pipeDispatchMiddleware();
37 37
 
38
-$expressive->get('/', function (ServerRequestInterface $request): ResponseInterface {
38
+$expressive->get('/', function(ServerRequestInterface $request): ResponseInterface {
39 39
     return new HtmlResponse('<div>Welcome in a side effect free world!</div>');
40 40
 });
41
-$expressive->get('/ping', function (ServerRequestInterface $request): ResponseInterface {
41
+$expressive->get('/ping', function(ServerRequestInterface $request): ResponseInterface {
42 42
     return new JsonResponse([
43 43
         'ack' => true
44 44
     ]);
45 45
 });
46 46
 
47
-$websiteLogic = function (ServerRequestInterface $request) use ($expressive): ResponseInterface {
47
+$websiteLogic = function(ServerRequestInterface $request) use ($expressive): ResponseInterface {
48 48
     return $expressive->process($request, $expressive->getDefaultDelegate());
49 49
 };
50 50
 
Please login to merge, or discard this patch.