The ProxyFactory was redeclaring methods serialize and unserialize on the cache file on some OSs.
This commit is contained in:
parent
3745e948c6
commit
66d2b9e0fb
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class ProxyFactory
|
|||
|
||||
foreach ($class->reflClass->getMethods() as $method) {
|
||||
/* @var $method ReflectionMethod */
|
||||
if ($method->isConstructor() || in_array(strtolower($method->getName()), array("__sleep", "__clone"))) {
|
||||
if ($method->isConstructor() || in_array(strtolower($method->getName()), array("__sleep", "__clone")) || $class->reflClass->getName() != $method->class) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue