1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 08:36:33 +02:00
This commit is contained in:
Jordi Boggiano
2014-10-17 19:12:45 +01:00
parent 940cbe15ab
commit b738a6c04c
23 changed files with 14 additions and 31 deletions

View File

@@ -41,7 +41,7 @@ class WebProcessor
public function __construct($serverData = null, array $extraFields = null)
{
if (null === $serverData) {
$this->serverData =& $_SERVER;
$this->serverData = &$_SERVER;
} elseif (is_array($serverData) || $serverData instanceof \ArrayAccess) {
$this->serverData = $serverData;
} else {