Fix some minors errors

This commit is contained in:
Philippe Thiers 2019-09-25 17:18:49 -03:00
parent 5b38dfe34a
commit 051a276887
2 changed files with 4 additions and 2 deletions

View File

@ -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();

View File

@ -1,6 +1,8 @@
<?php
namespace Psalm\LaravelPlugin;
use Psalm\Plugin\PluginEntryPointInterface;
class LumenPlugin extends AbstractPlugin implements PluginEntryPointInterface
{
/**