1
0
mirror of synced 2025-02-22 15:13:13 +03:00

Merge pull request #284 from meandmymonkey/docblock-fix

docblock/typehint fix
This commit is contained in:
Guilherme Blanco 2012-02-14 10:24:04 -08:00
commit e5d1f9e724

View File

@ -139,11 +139,11 @@ class ProxyFactory
/** /**
* Generates a proxy class file. * Generates a proxy class file.
* *
* @param $class * @param ClassMetadata $class Metadata for the original class
* @param $proxyClassName * @param string $fileName Filename (full path) for the generated class
* @param $file The path of the file to write to. * @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); $methods = $this->_generateMethods($class);
$sleepImpl = $this->_generateSleep($class); $sleepImpl = $this->_generateSleep($class);
@ -272,7 +272,7 @@ class ProxyFactory
* @param ClassMetadata $class * @param ClassMetadata $class
* @return bool * @return bool
*/ */
private function isShortIdentifierGetter($method, $class) private function isShortIdentifierGetter($method, ClassMetadata $class)
{ {
$identifier = lcfirst(substr($method->getName(), 3)); $identifier = lcfirst(substr($method->getName(), 3));
$cheapCheck = ( $cheapCheck = (