Use PhpExecutableFinder() closes #457 #458 (#460)

This commit is contained in:
Nabeel S
2019-12-09 15:26:30 -05:00
committed by GitHub
parent 8042c4ffc1
commit 8cb0021b9f
5 changed files with 36 additions and 14 deletions

View File

@@ -67,7 +67,7 @@ class AppServiceProvider extends ServiceProvider
public function register(): void
{
// Only load the IDE helper if it's included and enabled
if (config('app.debug_toolbar') === true) {
if (config('app.debug') === true) {
/* @noinspection NestedPositiveIfStatementsInspection */
/* @noinspection PhpFullyQualifiedNameUsageInspection */
if (class_exists(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class)) {