File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1010.idea
1111.vagrant
1212composer.lock
13+ .phpstorm.meta.php
14+ _ide_helper.php
Original file line number Diff line number Diff line change 11<?php namespace App \Providers ;
22
33use App \Validation \CustomValidator ;
4- use Illuminate \Support \Facades \Validator ;
4+ use Illuminate \Foundation \Application ;
5+ use Validator ;
56use Illuminate \Support \ServiceProvider ;
67
8+ /**
9+ * @property Application $app
10+ */
711class AppServiceProvider extends ServiceProvider
812{
913
@@ -37,6 +41,11 @@ public function register()
3741
3842 $ this ->app ->bind ('App\Test\StringConverter ' , 'App\Test\ToLowercase ' );
3943 $ this ->app ->addContextualBinding ('App\Test\Repeat ' , '$times ' , 2 );
44+
45+ if ($ this ->app ->environment () !== 'production ' ) {
46+ /** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */
47+ $ this ->app ->register (\Barryvdh \LaravelIdeHelper \IdeHelperServiceProvider::class);
48+ }
4049 }
4150
4251}
You can’t perform that action at this time.
0 commit comments