mirror of
https://github.com/tchapi/davis.git
synced 2025-01-17 21:08:17 +01:00
Fix typing and phpdoc
This commit is contained in:
parent
2e8db7fe13
commit
156b434cdc
@ -28,19 +28,21 @@ class DavisIMipPlugin extends SabreBaseIMipPlugin
|
||||
*/
|
||||
protected $mailer;
|
||||
|
||||
private $senderEmail;
|
||||
|
||||
private $mapboxApiKey;
|
||||
|
||||
/**
|
||||
* Creates the email handler.
|
||||
*
|
||||
* @param string $senderEmail. The 'senderEmail' is the email that shows up
|
||||
* in the 'From:' address. This should
|
||||
* generally be some kind of no-reply email
|
||||
* address you own.
|
||||
* @param string $senderEmail. The 'senderEmail' is the email that shows up
|
||||
* in the 'From:' address. This should
|
||||
* generally be some kind of no-reply email
|
||||
* address you own.
|
||||
* @param string $mapboxApiKey. The key to display the Mapbox static tile
|
||||
* in the invitation email.
|
||||
*/
|
||||
public function __construct(TwigEnvironment $twig, \Swift_Mailer $mailer, $senderEmail, ?string $mapboxApiKey = null)
|
||||
public function __construct(TwigEnvironment $twig, \Swift_Mailer $mailer, string $senderEmail, ?string $mapboxApiKey = null)
|
||||
{
|
||||
$this->twig = $twig;
|
||||
$this->mailer = $mailer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user