for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LaravelZero\Framework\Providers\Scheduler;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
/**
* This is the Zero Framework Scheduler service provider class.
*
* @author Nuno Maduro <[email protected]>
*/
class ServiceProvider extends BaseServiceProvider
{
* Register Scheduler service.
* @return void
public function register(): void
$this->app->singleton(
Schedule::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 Schedule;
}
);
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.