mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-08-25 21:00:18 +02:00
Fix code for PHP 5.3
This commit is contained in:
parent
7f0cab1a38
commit
9bb17413d2
@ -318,12 +318,12 @@ abstract class AbstractTask
|
||||
protected function getEnvVariables()
|
||||
{
|
||||
$configVars = array_merge(
|
||||
$this->getConfig()->general('env', []),
|
||||
$this->getConfig()->environmentConfig('env', []),
|
||||
$this->getConfig()->getParameter('env', []),
|
||||
[
|
||||
'variables' => $this->getConfig()->getParameter('env.variables', [])
|
||||
]
|
||||
$this->getConfig()->general('env', array()),
|
||||
$this->getConfig()->environmentConfig('env', array()),
|
||||
$this->getConfig()->getParameter('env', array()),
|
||||
array(
|
||||
'variables' => $this->getConfig()->getParameter('env.variables', array())
|
||||
)
|
||||
);
|
||||
|
||||
if (isset($configVars['variables'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user