diff --git a/.gitignore b/.gitignore index 9eb44fd81..4815ac925 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ reports/ dist/ tests/Doctrine/Tests/Common/Proxy/generated/ vendor/ +.idea diff --git a/lib/Doctrine/Common/Proxy/ProxyGenerator.php b/lib/Doctrine/Common/Proxy/ProxyGenerator.php index bf6671c53..688431f9b 100644 --- a/lib/Doctrine/Common/Proxy/ProxyGenerator.php +++ b/lib/Doctrine/Common/Proxy/ProxyGenerator.php @@ -426,7 +426,7 @@ public function __get(\$name) $magicGet .= <<<'EOT' $this->__initializer__ && $this->__initializer__->__invoke($this, '__get', array($name)); - return parent::__get($name) + return parent::__get($name); EOT; } else { @@ -487,7 +487,7 @@ public function __set(\$name, \$value) $magicSet .= <<<'EOT' $this->__initializer__ && $this->__initializer__->__invoke($this, '__set', array($name, $value)); - return parent::__set(\$name, \$value) + return parent::__set($name, $value); EOT; } else { $magicSet .= " \$this->\$name = \$value;";