From e96b082a54eca69122b46b12fad046fc7f024bfb Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 18 May 2020 11:40:02 +0100 Subject: [PATCH] RegistryTrait: fixing use of method that doesn't belong to the trait --- src/utils/RegistryTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/RegistryTrait.php b/src/utils/RegistryTrait.php index f24a10478..547b08c57 100644 --- a/src/utils/RegistryTrait.php +++ b/src/utils/RegistryTrait.php @@ -92,7 +92,7 @@ trait RegistryTrait{ throw new \ArgumentCountError("Expected exactly 0 arguments, " . count($arguments) . " passed"); } try{ - return self::fromString($name); + return self::_registryFromString($name); }catch(\InvalidArgumentException $e){ throw new \Error($e->getMessage(), 0, $e); }