Merge pull request #284 from meandmymonkey/docblock-fix
docblock/typehint fix
This commit is contained in:
commit
e5d1f9e724
@ -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 = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user