for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: arthur
* Date: 14.10.18
* Time: 19:44.
*/
namespace Modules\Schedule\Listeners;
use Foundation\Abstracts\Listeners\Listener;
use Modules\Schedule\Events\ScheduleCreatedEvent;
class ScheduleCreatedListener extends Listener
{
* @param ScheduleCreatedEvent $event
public function handle($event): void
$event
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function handle(/** @scrutinizer ignore-unused */ $event): void
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
}
* @param $exception
public function failed($event, $exception): void
public function failed(/** @scrutinizer ignore-unused */ $event, $exception): void
$exception
public function failed($event, /** @scrutinizer ignore-unused */ $exception): void
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.