for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\Newsletter\Exceptions;
use Exception;
class InvalidSubscribeStatus extends Exception
{
/**
* @return static
*/
public static function invalidStatus($defaultSubscribeStatus)
$defaultSubscribeStatus
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return new static('`{$defaultSubscribeStatus}` is not a valid subscribe status value');
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.