Error in file /vendor/PopPHPFramework/src/Pop/Http/Request.php at line 549.
Shouldn't it be return $this->env;? Link
/**
* Get a value from $_ENV, or the whole array
*
* @param string $key
* @return string|array
*/
public function getEnv($key = null)
{
if (null === $key) {
return $this->server;
} else {
return (isset($this->env[$key])) ? $this->env[$key] : null;
}
}
Error in file/vendor/PopPHPFramework/src/Pop/Http/Request.php at line 549.
Shouldn't it be
return $this->env;
? Link