for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\Infobip;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Support\Facades\Notification;
use Illuminate\Support\ServiceProvider;
class InfobipServiceProvider extends ServiceProvider
{
/**
* Register the application services.
*/
public function register()
$this->app->bind(InfobipConfig::class, function () {
return new InfobipConfig($this->app['config']['services.infobip']);
});
Notification::extend('infobip', 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 InfobipChannel(
$this->app->make(Infobip::class),
$this->app->make(Dispatcher::class)
);
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.