for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* rmarchiv.tk
* (c) 2016-2017 by Marcel 'ryg' Hering
*/
namespace App\Listeners;
use App\Events\TelegramNotification;
class TelegramNotificationListener
{
/**
* Create the event listener.
*
* @return void
@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 TelegramNotification $event
public function handle(TelegramNotification $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.
Adding a
@returnannotation 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.