mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-24 13:40:29 +01:00
unknown PHP 8 compatibility issue
commented out as hotfix if (!is_callable($callable, false))...
This commit is contained in:
parent
43c1ae3d62
commit
5b95c48cbe
@ -21,9 +21,16 @@ final class FactoryMethodDefinition
|
||||
public function __construct($callable, $shared = true)
|
||||
{
|
||||
if (!is_callable($callable, false)) {
|
||||
/*
|
||||
|
||||
xenomporio
|
||||
unknown compatibility issue
|
||||
commented out as hotfix
|
||||
|
||||
throw new InvalidArgumentException(sprintf(
|
||||
'Definition can\'t be created. "%s::%s" is not callable.', $callable[0], $callable[1]
|
||||
));
|
||||
*/
|
||||
}
|
||||
|
||||
$this->callable = $callable;
|
||||
|
Loading…
Reference in New Issue
Block a user