for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace StephaneCoinon\SendGridActivity\Integrations\Laravel;
use Illuminate\Support\ServiceProvider;
use StephaneCoinon\SendGridActivity\SendGrid;
use StephaneCoinon\SendGridActivity\Integrations\Framework;
class SendGridApiServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
Framework::laravel();
}
* Register bindings in the container.
public function register()
$this->app->singleton(SendGrid::class, function ($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 SendGrid(config('services.sendgrid.key'));
});
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.