for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Rinvex\Auth\Contracts;
interface EmailVerificationBrokerFactoryContract
{
/**
* Get a broker instance by name.
*
* @param string $name
$name
string|null
This check looks for @param annotations where the type inferred by our type inference engine differs from the declared type.
@param
It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.
* @return \Rinvex\Auth\Contracts\EmailVerificationBrokerContract
*/
public function broker($name = null);
}
This check looks for
@param
annotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.