| @@ -106,7 +106,7 @@ | ||
| 106 | 106 | /** | 
| 107 | 107 | * Override this function to define which emails you want to make the web-view available and for which not. | 
| 108 | 108 | * @see Azine\EmailBundle\Services\AzineTemplateProvider::getTemplatesToStoreForWebView() | 
| 109 | - * @return array | |
| 109 | + * @return string[] | |
| 110 | 110 | */ | 
| 111 | 111 | public function getTemplatesToStoreForWebView() | 
| 112 | 112 |      { | 
| @@ -124,7 +124,7 @@ | ||
| 124 | 124 | * @param array $campaignParams | 
| 125 | 125 | * @param array $emailTemplateParams | 
| 126 | 126 | * @param string $messageId | 
| 127 | - * @param string|array $recipients | |
| 127 | + * @param string $recipients | |
| 128 | 128 | */ | 
| 129 | 129 |      protected function getGoogleAnalyticsUrl($baseUrl, $templateBaseId, array $campaignParams, array $emailTemplateParams, $messageId, $recipients){ | 
| 130 | 130 | $url = $baseUrl. | 
| @@ -148,6 +148,7 @@ | ||
| 148 | 148 | * - remove double-whitespaces and whitespaces at line beginnings and ends. | 
| 149 | 149 | * - html-special chars to their original representation (php => htmlspecialchars_decode) | 
| 150 | 150 | * and then remove all html-tags (php => strip_tags) | 
| 151 | + * @param string $html | |
| 151 | 152 | */ | 
| 152 | 153 |      public function stripAndConvertTags($html){ | 
| 153 | 154 | |
| @@ -123,18 +123,18 @@ | ||
| 123 | 123 | * @param string $subject | 
| 124 | 124 | * @param String $from | 
| 125 | 125 | * @param String $fromName | 
| 126 | - * @param array|String $to | |
| 126 | + * @param string $to | |
| 127 | 127 | * @param String $toName | 
| 128 | - * @param array|String $cc | |
| 128 | + * @param null|string $cc | |
| 129 | 129 | * @param String $ccName | 
| 130 | - * @param array|String $bcc | |
| 130 | + * @param null|string $bcc | |
| 131 | 131 | * @param String $bccName | 
| 132 | 132 | * @param $replyTo | 
| 133 | 133 | * @param $replyToName | 
| 134 | 134 | * @param array $params | 
| 135 | 135 | * @param $template | 
| 136 | 136 | * @param array $attachments | 
| 137 | - * @param null $emailLocale | |
| 137 | + * @param string|null $emailLocale | |
| 138 | 138 | * @param \Swift_Message $message | 
| 139 | 139 | * @return int | 
| 140 | 140 | */ |