| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1.0013 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 67 | public function register() |
|
| 23 | { |
||
| 24 | 67 | $this->publishes([ |
|
| 25 | 67 | __DIR__.'/../config/assetlibrary.php' => config_path('assetlibrary.php'), |
|
| 26 | 67 | ], 'config'); |
|
| 27 | |||
| 28 | 67 | $this->mergeConfigFrom(__DIR__.'/../config/assetlibrary.php', 'assetlibrary'); |
|
| 29 | |||
| 30 | 67 | $this->app->singleton('asset', function ($app) { |
|
| 31 | return new Asset($app); |
||
| 32 | 67 | }); |
|
| 33 | |||
| 34 | 67 | $this->publishMigrations(); |
|
| 35 | 67 | } |
|
| 53 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.