@@ -136,7 +136,6 @@ |
||
| 136 | 136 | * |
| 137 | 137 | * @param DomainInterface $primaryDomain Primary domain |
| 138 | 138 | * @param string $docroot Document root |
| 139 | - * @param int $port Port |
|
| 140 | 139 | */ |
| 141 | 140 | public function __construct(DomainInterface $primaryDomain, $docroot) |
| 142 | 141 | { |
@@ -50,7 +50,8 @@ |
||
| 50 | 50 | * Virtual host constructor |
| 51 | 51 | * |
| 52 | 52 | * @param DomainInterface $primaryDomain Primary domain |
| 53 | - * @param string $docroot Document root |
|
| 53 | + * @param string $docroo Document root |
|
| 54 | + * @return void |
|
| 54 | 55 | */ |
| 55 | 56 | public function __construct(DomainInterface $primaryDomain, $docroo); |
| 56 | 57 | |
@@ -163,12 +163,12 @@ |
||
| 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 | } |