General cleanup and removal of all unnecessary references

This commit is contained in:
Alexander Liljengård
2016-05-24 16:31:21 +02:00
parent 519ad85fad
commit a65f2aa9f3
43 changed files with 366 additions and 386 deletions

View File

@ -4,15 +4,14 @@ class KeyedVariable extends Variable
{
private $_key;
public function __construct(&$key, $name, &$prior)
public function __construct($key, $name, $prior)
{
parent::__construct($name, $prior);
$this->_key = &$key;
$this->_key = $key;
}
public function &getKey()
public function getKey()
{
$key = &$this->_key;
return $key;
return $this->_key;
}
}