Completed
Push — master ( 9254f0...47252c )
by James
04:54
created
src/Factory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
         return array_keys($this->webservers);
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $name
75
+     */
73 76
     public function createWebProject($name, $version = '')
74 77
     {
75 78
         $name = '';
Please login to merge, or discard this patch.
src/WebServer/NginxWebServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
         foreach ($activeConfig as $line => $directive) {
46 46
             if (preg_match('/(?P<key>\w+)\s+(?P<value>[^;]+);/', trim($directive), $matches)) {
47
-                $parsedActiveConfig[$line] = new Directive($matches['key'],$matches['value']);
47
+                $parsedActiveConfig[$line] = new Directive($matches['key'], $matches['value']);
48 48
             }
49 49
             if (preg_match('/(?P<key>\w+)\s+(?P<value>[^\s{+])\s*{/', trim($directive), $matches)) {
50 50
                 $parsedActiveConfig[$line] = ['block directive', [$matches['key'] => $matches['value']]];
Please login to merge, or discard this patch.