From 931e39c0f1df2b839bf0c52c180d8210e89a5220 Mon Sep 17 00:00:00 2001 From: Romans Malinovskis Date: Fri, 10 Feb 2017 14:02:26 +0000 Subject: [PATCH 1/2] Fix bug causing looping --- src/FactoryTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FactoryTrait.php b/src/FactoryTrait.php index 7748dee6..6b83ed3d 100644 --- a/src/FactoryTrait.php +++ b/src/FactoryTrait.php @@ -78,9 +78,9 @@ public function normalizeClassName($name, $prefix = null) if ( is_string($name) && isset($this->_appScopeTrait, $this->app) - && method_exists($this->app, 'normalizeClassName') + && method_exists($this->app, 'normalizeClassNameApp') ) { - $name = $this->app->normalizeClassName($name, $prefix); + $name = $this->app->normalizeClassNameApp($name, $prefix); } if (!is_string($name)) { From 98d27e6951e78f4835c2e3926a0a5bd4f8c75ef5 Mon Sep 17 00:00:00 2001 From: Romans Malinovskis Date: Mon, 13 Feb 2017 22:26:42 +0000 Subject: [PATCH 2/2] release --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee512779..97fbcd26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.1.10 + + - prevent looping by calling normalizeClass in the API that may also + implement factory trait and cause a loop + ## 1.1.8 - Added Exception::getHTML(), similar to getColofulException but for