From 5b95c48cbe2c6a8486ec442d93d1feee273553fc Mon Sep 17 00:00:00 2001 From: Xenomporio <> Date: Mon, 16 May 2022 14:11:35 +0200 Subject: [PATCH] unknown PHP 8 compatibility issue commented out as hotfix if (!is_callable($callable, false))... --- .../Definition/FactoryMethodDefinition.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/classes/Core/DependencyInjection/Definition/FactoryMethodDefinition.php b/classes/Core/DependencyInjection/Definition/FactoryMethodDefinition.php index 6ce438e9..971f7714 100644 --- a/classes/Core/DependencyInjection/Definition/FactoryMethodDefinition.php +++ b/classes/Core/DependencyInjection/Definition/FactoryMethodDefinition.php @@ -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;