for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SamIT\React\Smtp;
use React\Socket\ConnectionInterface;
/**
* Class Sender
* This class will send messages over connections.
* @package SamIT\React\Smtp
*/
class Sender
{
private $loop;
public function __construct(LoopInterface $loop)
$this->loop = $loop;
}
* @param ConnectionInterface $connection
* @param MessageInterface $message
* @param Request $request
public function send(
ConnectionInterface $connection,
$connection
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
MessageInterface $message,
$message
Request $request
$request
) {
// $connection->on
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.