chore: Add laravel ide helper

This commit is contained in:
Attila Kerekes
2022-11-29 23:13:24 +01:00
committed by Attila Kerekes
parent bd76efc613
commit 52620bc331
512 changed files with 89443 additions and 31 deletions

View File

@@ -7,6 +7,7 @@ use App\Jobs\ProcessApps;
use App\Jobs\UpdateApps;
use App\Setting;
use App\User;
use Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Schema;
@@ -116,6 +117,10 @@ class AppServiceProvider extends ServiceProvider
*/
public function register()
{
if ($this->app->isLocal()) {
$this->app->register(IdeHelperServiceProvider::class);
}
$this->app->singleton('settings', function () {
return new Setting();
});