Completed
Push — master ( 22597c...02355d )
by Joschi
14:01 queued 11:10
created
src/Admin/Ports/Facade/Domain.php 1 patch
Doc Comments   -5 removed lines patch added patch discarded remove patch
@@ -81,7 +81,6 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Delete a domain
83 83
      *
84
-     * @param string $domain Domain name
85 84
      * @return boolean Success
86 85
      */
87 86
     public static function delete($name)
@@ -92,7 +91,6 @@  discard block
 block discarded – undo
92 91
     /**
93 92
      * Enable a domain
94 93
      *
95
-     * @param string $domain Domain name
96 94
      * @return boolean Success
97 95
      */
98 96
     public static function enable($name)
@@ -103,7 +101,6 @@  discard block
 block discarded – undo
103 101
     /**
104 102
      * Disable a domain
105 103
      *
106
-     * @param string $domain Domain name
107 104
      * @return boolean Success
108 105
      */
109 106
     public static function disable($name)
@@ -114,7 +111,6 @@  discard block
 block discarded – undo
114 111
     /**
115 112
      * Enable a domain wildcard
116 113
      *
117
-     * @param string $domain Domain name
118 114
      * @return boolean Success
119 115
      */
120 116
     public static function enableWildcard($name)
@@ -125,7 +121,6 @@  discard block
 block discarded – undo
125 121
     /**
126 122
      * Disable a domain wildcard
127 123
      *
128
-     * @param string $domain Domain name
129 124
      * @return boolean Success
130 125
      */
131 126
     public static function disableWildcard($name)
Please login to merge, or discard this patch.
src/Admin/Domain/Vhost/Vhost.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
     {
262 262
         $secondaryDomains = array_values($this->secondaryDomains);
263 263
         return $excludeWildcards ?
264
-            array_filter($secondaryDomains, function (DomainInterface $domain) {
264
+            array_filter($secondaryDomains, function(DomainInterface $domain) {
265 265
                 return !$domain->isWildcard();
266 266
             }) :
267 267
             $secondaryDomains;
Please login to merge, or discard this patch.
src/Admin/Infrastructure/Factory/PhpFpmServiceFactory.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,6 @@
 block discarded – undo
51 51
     /**
52 52
      * Create a PHP FPM service instance
53 53
      *
54
-     * @param string $version PHP version
55 54
      * @return ShellServiceInterface PHP FPM service
56 55
      */
57 56
     public static function create($php)
Please login to merge, or discard this patch.
src/Admin/Infrastructure/Service/AbstractShellService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     {
76 76
         $command = Binary::sudo($this->config['service']);
77 77
         array_map(
78
-            function ($argument) use ($command) {
78
+            function($argument) use ($command) {
79 79
                 $command->addArg($argument);
80 80
             },
81 81
             $arguments
Please login to merge, or discard this patch.
src/Admin/Infrastructure/App.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -228,12 +228,12 @@  discard block
 block discarded – undo
228 228
             return self::$config;
229 229
         }
230 230
         $keyParts = explode('.', $key);
231
-        $config =& self::$config;
231
+        $config = & self::$config;
232 232
         foreach ($keyParts as $keyPart) {
233 233
             if (!array_key_exists($keyPart, $config)) {
234 234
                 throw new \InvalidArgumentException(sprintf('Invalid config key "%s"', $key), 1466179561);
235 235
             }
236
-            $config =& $config[$keyPart];
236
+            $config = & $config[$keyPart];
237 237
         }
238 238
         return $config;
239 239
     }
@@ -248,8 +248,7 @@  discard block
 block discarded – undo
248 248
     public static function getTemplate($template, $useDefault = false)
249 249
     {
250 250
         $templateFile = self::$rootDirectory;
251
-        $templateFile .= $useDefault ? 'config' :
252
-            'src'.DIRECTORY_SEPARATOR.'Admin'.DIRECTORY_SEPARATOR.'Infrastructure'.DIRECTORY_SEPARATOR.'Templates';
251
+        $templateFile .= $useDefault ? 'config' : 'src'.DIRECTORY_SEPARATOR.'Admin'.DIRECTORY_SEPARATOR.'Infrastructure'.DIRECTORY_SEPARATOR.'Templates';
253 252
         $templateFile .= DIRECTORY_SEPARATOR.$template;
254 253
         if (!file_exists($templateFile)) {
255 254
             throw new \RuntimeException(
Please login to merge, or discard this patch.
src/Admin/Infrastructure/Strategy/DoctrineStorageAdapterStrategy.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -840,7 +840,7 @@  discard block
 block discarded – undo
840 840
     /**
841 841
      * Add a protocol port to a virtual host
842 842
      *
843
-     * @param string $account Account name
843
+     * @param AccountInterface $account Account name
844 844
      * @param string $docroot Document root
845 845
      * @param int $protocol Protocol
846 846
      * @param int $port Port
@@ -896,7 +896,7 @@  discard block
 block discarded – undo
896 896
     /**
897 897
      * Remove a protocol port from a virtual host
898 898
      *
899
-     * @param string $account Account name
899
+     * @param AccountInterface $account Account name
900 900
      * @param string $docroot Document root
901 901
      * @param int $protocol Protocol
902 902
      * @param int $port Port
@@ -945,7 +945,7 @@  discard block
 block discarded – undo
945 945
     /**
946 946
      * Add a secondary domain to a virtual host
947 947
      *
948
-     * @param string $account Account name
948
+     * @param AccountInterface $account Account name
949 949
      * @param string $docroot Document root
950 950
      * @param DomainInterface $domain Domain
951 951
      * @return VhostInterface Virtual host
@@ -1004,7 +1004,7 @@  discard block
 block discarded – undo
1004 1004
     /**
1005 1005
      * Remove a secondary domain from a virtual host
1006 1006
      *
1007
-     * @param string $account Account name
1007
+     * @param AccountInterface $account Account name
1008 1008
      * @param string $docroot Document root
1009 1009
      * @param DomainInterface $domain Domain
1010 1010
      * @return VhostInterface Virtual host
Please login to merge, or discard this patch.
src/Admin/Infrastructure/Service/DirectoryService.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
         }
101 101
 
102 102
         return $absolute ?
103
-            $absDataDirectory :
104
-            trim(substr($absDataDirectory, strlen($dataBaseDirectory)), DIRECTORY_SEPARATOR);
103
+            $absDataDirectory : trim(substr($absDataDirectory, strlen($dataBaseDirectory)), DIRECTORY_SEPARATOR);
105 104
     }
106 105
 
107 106
     /**
Please login to merge, or discard this patch.