@@ -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 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Azine\EmailBundle\DependencyInjection\AzineEmailExtension; |
| 6 | 6 | use Azine\EmailBundle\Entity\Notification; |
| 7 | 7 | use Azine\EmailBundle\Entity\RecipientInterface; |
| 8 | -use Doctrine\ORM\EntityManager; |
|
| 9 | 8 | use Monolog\Logger; |
| 10 | 9 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
| 11 | 10 | |
@@ -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. |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
| 10 | 10 | use Monolog\Logger; |
| 11 | 11 | use Azine\EmailBundle\Services\TemplateTwigSwiftMailerInterface; |
| 12 | -use Azine\EmailBundle\Tests\AzineQueryMock; |
|
| 13 | 12 | use Azine\EmailBundle\Entity\RecipientInterface; |
| 14 | 13 | use Azine\EmailBundle\DependencyInjection\AzineEmailExtension; |
| 15 | 14 | use Azine\EmailBundle\Services\AzineTemplateProvider; |
@@ -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 | |