for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: mschmidt
* Date: 4/21/2017
* Time: 4:31 PM
*/
namespace GolfLeague\Handlers;
class TeamMatchHandler
{
* Create a new instance of the TeamMatchHandler
*
* @param
* @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()
} // End of __construct
* Create an initial round for each player after a new match is created
* @param Match $match
public function handle($match)
$match
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
}
* Register the listeners for the subscriber.
* @param Illuminate\Events\Dispatcher $events
* @return array
public function subscribe($events)
$events->listen('match.create', 'GolfLeague\Handlers\TeamMatchHandler');
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.