for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\PanaceaMobile;
use Illuminate\Support\ServiceProvider;
class PanaceaMobileServiceProvider extends ServiceProvider
{
public function register()
$this->app->singleton(PanaceaMobileApi::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.
$config = config('services.panaceamobile');
return new PanaceaMobileApi($config['login'], $config['secret'], $config['sender']);
});
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.