Completed
Push — master ( d03ee7...6490ab )
by Tomáš
02:55
created
src/Bundle/SculpinBundle/HttpServer/HttpServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     {
72 72
         $this->port = $port;
73 73
 
74
-        $this->reactHttpServer->on('request', function (Request $request, Response $response) {
74
+        $this->reactHttpServer->on('request', function(Request $request, Response $response) {
75 75
             $path = $this->outputDirectory.'/'.ltrim(rawurldecode($request->getPath()), '/');
76 76
             if (is_dir($path)) {
77 77
                 $path .= '/index.html';
Please login to merge, or discard this patch.
src/Bundle/SculpinBundle/Command/GenerateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
 
110 110
             $this->httpServer->init();
111 111
             if ($watch) {
112
-                $this->httpServer->addPeriodicTimer(1, function () use ($sourceSet) {
112
+                $this->httpServer->addPeriodicTimer(1, function() use ($sourceSet) {
113 113
                     clearstatcache();
114 114
                     $sourceSet->reset();
115 115
 
Please login to merge, or discard this patch.