Completed
Push — master ( ae0105...972fe6 )
by Joschi
04:33
created
src/Admin/Infrastructure/App.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -163,12 +163,12 @@
 block discarded – undo
163 163
             return self::$config;
164 164
         }
165 165
         $keyParts = explode('.', $key);
166
-        $config =& self::$config;
166
+        $config = & self::$config;
167 167
         foreach ($keyParts as $keyPart) {
168 168
             if (!array_key_exists($keyPart, $config)) {
169 169
                 throw new \InvalidArgumentException(sprintf('Invalid config key "%s"', $key), 1466179561);
170 170
             }
171
-            $config =& $config[$keyPart];
171
+            $config = & $config[$keyPart];
172 172
         }
173 173
         return $config;
174 174
     }
Please login to merge, or discard this patch.
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/Infrastructure/Strategy/DoctrineStorageAdapterStrategy.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -834,7 +834,7 @@  discard block
 block discarded – undo
834 834
     /**
835 835
      * Configure a protocol based port for a virtual host
836 836
      *
837
-     * @param string $account Account name
837
+     * @param AccountInterface $account Account name
838 838
      * @param string $docroot Document root
839 839
      * @param int $protocol Protocol
840 840
      * @param int $port Port
@@ -874,7 +874,7 @@  discard block
 block discarded – undo
874 874
     /**
875 875
      * Add a secondary domain to a virtual host
876 876
      *
877
-     * @param string $account Account name
877
+     * @param AccountInterface $account Account name
878 878
      * @param string $docroot Document root
879 879
      * @param DomainInterface $domain Domain
880 880
      * @return VhostInterface Virtual host
@@ -932,7 +932,7 @@  discard block
 block discarded – undo
932 932
     /**
933 933
      * Remove a secondary domain from a virtual host
934 934
      *
935
-     * @param string $account Account name
935
+     * @param AccountInterface $account Account name
936 936
      * @param string $docroot Document root
937 937
      * @param DomainInterface $domain Domain
938 938
      * @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,7 +100,6 @@
 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
 }
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.