From 051a2768879d6ef851802280073f38567d9956fb Mon Sep 17 00:00:00 2001 From: Philippe Thiers Date: Wed, 25 Sep 2019 17:18:49 -0300 Subject: [PATCH] Fix some minors errors --- src/AbstractPlugin.php | 4 ++-- src/LumenPlugin.php | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/AbstractPlugin.php b/src/AbstractPlugin.php index 2910c5d..6b28918 100644 --- a/src/AbstractPlugin.php +++ b/src/AbstractPlugin.php @@ -36,11 +36,11 @@ abstract class AbstractPlugin implements PluginEntryPointInterface } elseif (file_exists($applicationPath = getcwd().'/bootstrap/app.php')) { // Local Dev $app = require $applicationPath; } else { // Packages - $app = (new static)->loadIdeProvider(); + $app = (new static)->createApplication(); $app->register($ide_helper_provider); } - $app = $this->getApplicationInstance($app, $ide_helper_provider); + $app = $this->loadIdeProvider($app, $ide_helper_provider); $fake_filesystem = new FakeFilesystem(); diff --git a/src/LumenPlugin.php b/src/LumenPlugin.php index 8c31c74..9fba514 100644 --- a/src/LumenPlugin.php +++ b/src/LumenPlugin.php @@ -1,6 +1,8 @@