From 93d2e1bd0ab43c631301a32f88b04d61ca2b458e Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Tue, 26 Jul 2011 22:30:20 +0200 Subject: [PATCH] [DDC-1280] Only generate linefeeds in proxies for consistency. --- lib/Doctrine/ORM/Proxy/ProxyFactory.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"; } }