@@ -35,25 +35,25 @@ |
||
| 35 | 35 | { |
| 36 | 36 | } |
| 37 | 37 | ======= |
| 38 | - public function boot() |
|
| 39 | - { |
|
| 40 | - $this->loadMigrationsFrom(__DIR__ . '/database/migrations/'); |
|
| 38 | + public function boot() |
|
| 39 | + { |
|
| 40 | + $this->loadMigrationsFrom(__DIR__ . '/database/migrations/'); |
|
| 41 | 41 | |
| 42 | - $this->publishes([ |
|
| 43 | - __DIR__ . '/database/migrations/' => database_path('migrations') |
|
| 44 | - ], 'migrations'); |
|
| 42 | + $this->publishes([ |
|
| 43 | + __DIR__ . '/database/migrations/' => database_path('migrations') |
|
| 44 | + ], 'migrations'); |
|
| 45 | 45 | |
| 46 | - $this->publishes([ |
|
| 47 | - __DIR__ . '/config/languages.php' => config_path('languages.php'), |
|
| 48 | - ], 'config'); |
|
| 46 | + $this->publishes([ |
|
| 47 | + __DIR__ . '/config/languages.php' => config_path('languages.php'), |
|
| 48 | + ], 'config'); |
|
| 49 | 49 | |
| 50 | - Collection::macro('for', function ($field, $code) { |
|
| 51 | - return $this->where('key', $field)->where('locale', $code)->pluck('value')->first() ?? $field; |
|
| 52 | - }); |
|
| 53 | - } |
|
| 50 | + Collection::macro('for', function ($field, $code) { |
|
| 51 | + return $this->where('key', $field)->where('locale', $code)->pluck('value')->first() ?? $field; |
|
| 52 | + }); |
|
| 53 | + } |
|
| 54 | 54 | |
| 55 | - public function register() |
|
| 56 | - { |
|
| 57 | - } |
|
| 55 | + public function register() |
|
| 56 | + { |
|
| 57 | + } |
|
| 58 | 58 | >>>>>>> Stashed changes |
| 59 | 59 | } |