@@ -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 @@ discard block |
||
| 5 | 5 | use Azine\EmailBundle\Services\AzineTemplateProvider; |
| 6 | 6 | use Azine\EmailBundle\Entity\SentEmail; |
| 7 | 7 | use Azine\EmailBundle\Controller\AzineEmailTemplateController; |
| 8 | - |
|
| 9 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 10 | 9 | use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException; |
| 11 | 10 | use Symfony\Component\HttpFoundation\ParameterBag; |
@@ -13,7 +12,6 @@ discard block |
||
| 13 | 12 | use Symfony\Component\HttpFoundation\Response; |
| 14 | 13 | use Symfony\Component\Routing\RequestContext; |
| 15 | 14 | use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; |
| 16 | - |
|
| 17 | 15 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
| 18 | 16 | |
| 19 | 17 | /** |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * @param array $campaignParams |
| 127 | 127 | * @param array $emailTemplateParams |
| 128 | 128 | * @param $messageId string |
| 129 | - * @param $recipients string |
|
| 129 | + * @param string $recipients string |
|
| 130 | 130 | */ |
| 131 | 131 | protected function getGoogleAnalyticsUrl($baseUrl, $templateBaseId, array $campaignParams, array $emailTemplateParams, $messageId, $recipients){ |
| 132 | 132 | $url = $baseUrl. |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | * @param array $campaignParams |
| 151 | 151 | * @param array $emailTemplateParams |
| 152 | 152 | * @param $messageId string |
| 153 | - * @param $recipients string |
|
| 153 | + * @param string $recipients string |
|
| 154 | 154 | */ |
| 155 | 155 | protected function getPiwikUrl($baseUrl, $templateBaseId, array $campaignParams, array $emailTemplateParams, $messageId, $recipients){ |
| 156 | 156 | $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 | /** |
@@ -53,6 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * Get the filesystem-folder for the given key |
| 56 | + * @param string $key |
|
| 56 | 57 | * @return string the fs-folder | false |
| 57 | 58 | */ |
| 58 | 59 | public function getFolderFrom($key); |
@@ -78,7 +79,7 @@ discard block |
||
| 78 | 79 | * Get the url-query-parameters for campaign identification. |
| 79 | 80 | * If you work with GoogleAnalytics take a look at this page: https://support.google.com/analytics/answer/1033867 |
| 80 | 81 | * |
| 81 | - * @param array $template parameters already loaded |
|
| 82 | + * @param array $templateId parameters already loaded |
|
| 82 | 83 | * @return array of (string => string) |
| 83 | 84 | */ |
| 84 | 85 | public function getCampaignParamsFor($templateId, array $params = null); |