From b444ec0139e360d979d76d531e102ac99d346cc3 Mon Sep 17 00:00:00 2001 From: romanb Date: Sat, 3 Oct 2009 08:44:53 +0000 Subject: [PATCH] [2.0][DDC-28] Fixed --- lib/Doctrine/ORM/Proxy/ProxyClassGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Proxy/ProxyClassGenerator.php b/lib/Doctrine/ORM/Proxy/ProxyClassGenerator.php index 25cf44ab2..725b7985f 100644 --- a/lib/Doctrine/ORM/Proxy/ProxyClassGenerator.php +++ b/lib/Doctrine/ORM/Proxy/ProxyClassGenerator.php @@ -140,7 +140,7 @@ class ProxyClassGenerator continue; } - if ($method->isPublic() && ! $method->isFinal()) { + if ($method->isPublic() && ! $method->isFinal() && ! $method->isStatic()) { $methods .= PHP_EOL . 'public function ' . $method->getName() . '('; $firstParam = true; $parameterString = $argumentString = '';