@@ -121,7 +121,7 @@ class LunarServiceProvider extends ServiceProvider
121121 'urls ' ,
122122 ];
123123
124- protected $ root = __DIR__ . '/.. ' ;
124+ protected $ root = __DIR__ . '/.. ' ;
125125
126126 /**
127127 * Register any application services.
@@ -132,7 +132,7 @@ public function register(): void
132132 $ this ->mergeConfigFrom ("{$ this ->root }/config/ $ config.php " , "lunar. $ config " );
133133 });
134134
135- $ this ->loadTranslationsFrom (__DIR__ . '/../resources/lang ' , 'lunar ' );
135+ $ this ->loadTranslationsFrom (__DIR__ . '/../resources/lang ' , 'lunar ' );
136136
137137 $ this ->registerAddonManifest ();
138138
@@ -219,7 +219,7 @@ public function register(): void
219219 public function boot (): void
220220 {
221221 if (! config ('lunar.database.disable_migrations ' , false )) {
222- $ this ->loadMigrationsFrom (__DIR__ . '/../database/migrations ' );
222+ $ this ->loadMigrationsFrom (__DIR__ . '/../database/migrations ' );
223223 }
224224
225225 $ this ->registerObservers ();
@@ -237,11 +237,11 @@ public function boot(): void
237237 });
238238
239239 $ this ->publishes ([
240- __DIR__ . '/../resources/lang ' => lang_path ('vendor/lunar ' ),
240+ __DIR__ . '/../resources/lang ' => lang_path ('vendor/lunar ' ),
241241 ], 'lunar.translation ' );
242242
243243 $ this ->publishes ([
244- __DIR__ . '/../database/migrations/ ' => database_path ('migrations ' ),
244+ __DIR__ . '/../database/migrations/ ' => database_path ('migrations ' ),
245245 ], 'lunar.migrations ' );
246246
247247 $ this ->commands ([
@@ -288,7 +288,7 @@ protected function registerAddonManifest()
288288 $ this ->app ->instance (Manifest::class, new Manifest (
289289 new Filesystem ,
290290 $ this ->app ->basePath (),
291- $ this ->app ->bootstrapPath () . '/cache/lunar_addons.php '
291+ $ this ->app ->bootstrapPath (). '/cache/lunar_addons.php '
292292 ));
293293 }
294294
@@ -372,7 +372,7 @@ protected function registerBuilderMacros(): void
372372 $ orderCases .= "WHEN id = $ id THEN $ index " ;
373373 }
374374
375- return $ this ->orderByRaw ("CASE $ orderCases ELSE " . count ($ ids ) . ' END ' );
375+ return $ this ->orderByRaw ("CASE $ orderCases ELSE " . count ($ ids ). ' END ' );
376376 }
377377
378378 return $ this ;
0 commit comments