diff --git a/lib/Doctrine/ORM/Proxy/ProxyFactory.php b/lib/Doctrine/ORM/Proxy/ProxyFactory.php index ed5d1560c..50bf18a7c 100644 --- a/lib/Doctrine/ORM/Proxy/ProxyFactory.php +++ b/lib/Doctrine/ORM/Proxy/ProxyFactory.php @@ -139,11 +139,11 @@ class ProxyFactory /** * Generates a proxy class file. * - * @param $class - * @param $proxyClassName - * @param $file The path of the file to write to. + * @param ClassMetadata $class Metadata for the original class + * @param string $fileName Filename (full path) for the generated class + * @param string $file The proxy class template data */ - private function _generateProxyClass($class, $fileName, $file) + private function _generateProxyClass(ClassMetadata $class, $fileName, $file) { $methods = $this->_generateMethods($class); $sleepImpl = $this->_generateSleep($class); @@ -272,7 +272,7 @@ class ProxyFactory * @param ClassMetadata $class * @return bool */ - private function isShortIdentifierGetter($method, $class) + private function isShortIdentifierGetter($method, ClassMetadata $class) { $identifier = lcfirst(substr($method->getName(), 3)); $cheapCheck = (