Completed
Push — master ( 80f1a6...8c34ac )
by Dominik
03:50
created
Services/ExampleTemplateProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Services/AzineNotifierService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Entity/Repositories/NotificationRepository.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 
15 15
     /**
16 16
      * Get all notifications that should be sent.
17
-     * @param $recipientId
17
+     * @param integer $recipientId
18 18
      * @return array of Notification
19 19
      */
20 20
     public function getNotificationsToSend($recipientId){
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * Get all notifications that should be sent immediately.
36
-     * @param $recipientId
36
+     * @param integer $recipientId
37 37
      * @return array of Notification
38 38
      */
39 39
     public function getNotificationsToSendImmediately($recipientId){
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
     /**
75 75
      * Mark all notifications as sent "far in the past". This is used for users that don't want to receive any notifications.
76
-     * @param $recipientId
76
+     * @param integer $recipientId
77 77
      */
78 78
     public function markAllNotificationsAsSentFarInThePast($recipientId){
79 79
         $qb = $this->createQueryBuilder()
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Get the \DateTime of the last Notification that has been sent.
91
-     * @param $recipientId
91
+     * @param integer $recipientId
92 92
      * @return \DateTime
93 93
      */
94 94
     public function getLastNotificationDate($recipientId){
Please login to merge, or discard this patch.
Services/AzineEmailOpenTrackingCodeBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
Tests/Services/AzineNotifierServiceTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.