for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Listeners\Satis;
use App\Events\Satis\ConfigWasUpdated;
use Illuminate\Contracts\Queue\ShouldQueue;
class EventListener implements ShouldQueue {
/**
* Create the event listener.
*
* @return EventListener
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
*/
public function __construct() {
//
}
* Handle the event.
* @param SomeEvent $event
* @return void
public function handle(ConfigWasUpdated $event) {
$event
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
#$this
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.