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.
|
* 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 = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user