diff --git a/lib/Doctrine/ORM/Proxy/ProxyFactory.php b/lib/Doctrine/ORM/Proxy/ProxyFactory.php index 90a3a8d5b..8d62ca7ab 100644 --- a/lib/Doctrine/ORM/Proxy/ProxyFactory.php +++ b/lib/Doctrine/ORM/Proxy/ProxyFactory.php @@ -172,7 +172,7 @@ class ProxyFactory } if ($method->isPublic() && ! $method->isFinal() && ! $method->isStatic()) { - $methods .= PHP_EOL . ' public function '; + $methods .= "\n" . ' public function '; if ($method->returnsReference()) { $methods .= '&'; } @@ -208,10 +208,10 @@ class ProxyFactory } $methods .= $parameterString . ')'; - $methods .= PHP_EOL . ' {' . PHP_EOL; - $methods .= ' $this->__load();' . PHP_EOL; + $methods .= "\n" . ' {' . "\n"; + $methods .= ' $this->__load();' . "\n"; $methods .= ' return parent::' . $method->getName() . '(' . $argumentString . ');'; - $methods .= PHP_EOL . ' }' . PHP_EOL; + $methods .= "\n" . ' }' . "\n"; } }