File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ public function configurePackage(Package $package): void
2121 {
2222 $ package
2323 ->name ('nativephp-electron ' )
24- ->hasConfigFile ('nativephp ' )
2524 ->hasCommands ([
2625 InstallCommand::class,
2726 DevelopCommand::class,
@@ -38,4 +37,9 @@ public function packageRegistered(): void
3837 return new UpdaterManager ($ app );
3938 });
4039 }
40+
41+ protected function getPackageBaseDir (): string
42+ {
43+ return dirname (parent ::getPackageBaseDir ());
44+ }
4145}
Original file line number Diff line number Diff line change 3434
3535class NativeServiceProvider extends PackageServiceProvider
3636{
37- protected function getPackageBaseDir (): string
38- {
39- return dirname (parent ::getPackageBaseDir ());
40- }
41-
4237 public function configurePackage (Package $ package ): void
4338 {
4439
@@ -249,4 +244,9 @@ protected function fireUpQueueWorkers(): void
249244 $ this ->app ->make (QueueWorkerContract::class)->up ($ queueConfig );
250245 }
251246 }
247+
248+ protected function getPackageBaseDir (): string
249+ {
250+ return dirname (parent ::getPackageBaseDir ());
251+ }
252252}
You can’t perform that action at this time.
0 commit comments