Fix private autoloader callbacks breaking the new runtime autoloader handling code
parent
f81e84164e
commit
c2fd4d3ebb
|
@ -661,7 +661,10 @@ class EventDispatcher
|
|||
}
|
||||
}
|
||||
|
||||
private function getCallbackIdentifier(callable $cb): string
|
||||
/**
|
||||
* @param callable $cb DO NOT MOVE TO TYPE HINT as private autoload callbacks are not technically callable
|
||||
*/
|
||||
private function getCallbackIdentifier($cb): string
|
||||
{
|
||||
if (is_string($cb)) {
|
||||
return 'fn:'.$cb;
|
||||
|
|
Loading…
Reference in New Issue