|
@@ -47,7 +47,7 @@ discard block |
|
|
block discarded – undo |
|
47
|
47
|
{ |
|
48
|
48
|
$context = parent::fromArray($assoc); |
|
49
|
49
|
$baseVirtualHost = $assoc['BASE_VIRTUAL_HOST']; |
|
50
|
|
- $singleEnvironment = (bool)$assoc['IS_SINGLE_ENVIRONMENT']; |
|
|
50
|
+ $singleEnvironment = (bool) $assoc['IS_SINGLE_ENVIRONMENT']; |
|
51
|
51
|
$self = new self($context->getEnvironmentType(), $context->getEnvironmentName(), $baseVirtualHost); |
|
52
|
52
|
$self->setSingleEnvironment($singleEnvironment); |
|
53
|
53
|
return $self; |
|
@@ -68,7 +68,7 @@ discard block |
|
|
block discarded – undo |
|
68
|
68
|
{ |
|
69
|
69
|
$context = parent::fromMetadata(); |
|
70
|
70
|
$baseVirtualHost = Aenthill::metadata('BASE_VIRTUAL_HOST'); |
|
71
|
|
- $singleEnvironment = (bool)Aenthill::metadata('IS_SINGLE_ENVIRONMENT'); |
|
|
71
|
+ $singleEnvironment = (bool) Aenthill::metadata('IS_SINGLE_ENVIRONMENT'); |
|
72
|
72
|
$self = new self($context->getEnvironmentType(), $context->getEnvironmentName(), $baseVirtualHost); |
|
73
|
73
|
$self->setSingleEnvironment($singleEnvironment); |
|
74
|
74
|
return $self; |
Please login to merge, or discard this patch.