Permalink
Browse files

Merge pull request #253 from odiaseo/master

Proxy Generation Bug
  • Loading branch information...
2 parents 53859ae + 66da9f1 commit 19a18bd4d957eaab64dbe7fbe6e89ba721c94ead @beberlei beberlei committed Feb 16, 2013
Showing with 3 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 lib/Doctrine/Common/Proxy/ProxyGenerator.php
View
1 .gitignore
@@ -4,3 +4,4 @@ reports/
dist/
tests/Doctrine/Tests/Common/Proxy/generated/
vendor/
+.idea
View
4 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;";

0 comments on commit 19a18bd

Please sign in to comment.