@@ -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.  | 
                                                        
@@ -2,7 +2,6 @@  | 
                                                    ||
| 2 | 2 | namespace Azine\EmailBundle\Services;  | 
                                                        
| 3 | 3 | |
| 4 | 4 | use Azine\EmailBundle\DependencyInjection\AzineEmailExtension;  | 
                                                        
| 5 | -use Azine\EmailBundle\Services\AzineEmailTwigExtension;  | 
                                                        |
| 6 | 5 | use Ramsey\Uuid\Uuid;  | 
                                                        
| 7 | 6 | |
| 8 | 7 | /**  | 
                                                        
@@ -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 | |
@@ -114,18 +114,18 @@ discard block  | 
                                                    ||
| 114 | 114 | * @param string $subject  | 
                                                        
| 115 | 115 | * @param String $from  | 
                                                        
| 116 | 116 | * @param String $fromName  | 
                                                        
| 117 | - * @param array|String $to  | 
                                                        |
| 117 | + * @param string $to  | 
                                                        |
| 118 | 118 | * @param String $toName  | 
                                                        
| 119 | - * @param array|String $cc  | 
                                                        |
| 119 | + * @param null|string $cc  | 
                                                        |
| 120 | 120 | * @param String $ccName  | 
                                                        
| 121 | - * @param array|String $bcc  | 
                                                        |
| 121 | + * @param null|string $bcc  | 
                                                        |
| 122 | 122 | * @param String $bccName  | 
                                                        
| 123 | 123 | * @param $replyTo  | 
                                                        
| 124 | 124 | * @param $replyToName  | 
                                                        
| 125 | 125 | * @param array $params  | 
                                                        
| 126 | 126 | * @param $template  | 
                                                        
| 127 | 127 | * @param array $attachments  | 
                                                        
| 128 | - * @param null $emailLocale  | 
                                                        |
| 128 | + * @param string|null $emailLocale  | 
                                                        |
| 129 | 129 | * @param \Swift_Message $message  | 
                                                        
| 130 | 130 | * @return int  | 
                                                        
| 131 | 131 | */  | 
                                                        
@@ -468,7 +468,7 @@ discard block  | 
                                                    ||
| 468 | 468 | * @param array $params  | 
                                                        
| 469 | 469 | * @param string $template  | 
                                                        
| 470 | 470 | * @param string $emailLocale  | 
                                                        
| 471 | - * @param null $from  | 
                                                        |
| 471 | + * @param string $from  | 
                                                        |
| 472 | 472 | * @param null $fromName  | 
                                                        
| 473 | 473 | * @param \Swift_Message $message  | 
                                                        
| 474 | 474 | * @return bool  |