Merge pull request #12 from pthiers/master

Fix some minors errors
This commit is contained in:
Matthew Brown 2019-09-25 18:55:01 -04:00 committed by GitHub
commit 727485a76d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
{
/**