You've already forked laravel-mail
Constructor changing type hint
This commit is contained in:
@@ -7,7 +7,7 @@ class BMailTemplate implements \JsonSerializable
|
||||
/**
|
||||
* The template for the message
|
||||
*
|
||||
* @var integer
|
||||
* @var string
|
||||
*/
|
||||
public $template;
|
||||
|
||||
@@ -39,7 +39,7 @@ class BMailTemplate implements \JsonSerializable
|
||||
*/
|
||||
public $parameters = [];
|
||||
|
||||
public function __construct(int $template)
|
||||
public function __construct(string $template)
|
||||
{
|
||||
$this->template = $template;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user