for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Onurkacmaz\LaravelN11;
use Illuminate\Support\ServiceProvider;
class LaravelN11ServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot()
$this->publishes([
__DIR__.'/../config/laravel-n11.php' => config_path('laravel-n11.php'),
], 'config');
}
* Register the application services.
public function register()
$this->app->singleton(LaravelN11ServiceProvider::class, function (Application $app) {
$app
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return new LaravelN11ServiceProvider();
});
$this->mergeConfigFrom(
__DIR__.'/../config/laravel-n11.php', 'laravel-n11'
);
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.