Completed
Push — master ( ebba66...366e1c )
by Yann
27:01 queued 22:24
created
Repository/NotificationRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     /**
60 60
      * @param object $recipient
61 61
      *
62
-     * @return Notification[]
62
+     * @return integer
63 63
      */
64 64
     public function countUndeliveredRecipientNotification($recipient)
65 65
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
         $builder
48 48
             ->where(
49 49
                 $builder->expr()->andX(
50
-                    $builder->expr()->eq($alias . '.recipientClass', ':class'),
51
-                    $builder->expr()->eq($alias . '.recipientId', ':id')
50
+                    $builder->expr()->eq($alias.'.recipientClass', ':class'),
51
+                    $builder->expr()->eq($alias.'.recipientId', ':id')
52 52
                 )
53 53
             )
54 54
             ->setParameter('class', ClassUtils::getClass($recipient))
Please login to merge, or discard this patch.
Helper/ContentBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,13 +54,13 @@
 block discarded – undo
54 54
             ->setDefault('subject_parameters', [])
55 55
             ->setDefault('template_parameters', [])
56 56
             ->setDefault('template_vars', [])
57
-            ->setNormalizer('subject_parameters', function ($opts, $value) {
57
+            ->setNormalizer('subject_parameters', function($opts, $value) {
58 58
                 return array_values((array) $value);
59 59
             })
60
-            ->setNormalizer('template_parameters', function ($opts, $value) {
60
+            ->setNormalizer('template_parameters', function($opts, $value) {
61 61
                 return array_values((array) $value);
62 62
             })
63
-            ->setNormalizer('template_vars', function ($opts, $value) {
63
+            ->setNormalizer('template_vars', function($opts, $value) {
64 64
                 return (array) $value;
65 65
             })
66 66
         ;
Please login to merge, or discard this patch.
DependencyInjection/YokaiMessengerExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             $config['logging_channel']
45 45
         );
46 46
 
47
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
47
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
48 48
         $loader->load('services.xml');
49 49
 
50 50
         if (class_exists('Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle') &&
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         $node
140 140
             ->canBeEnabled()
141 141
             ->validate()
142
-                ->ifTrue(function ($value) {
142
+                ->ifTrue(function($value) {
143 143
                     if (!$value['enabled']) {
144 144
                         return false;
145 145
                     }
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      */
202 202
     private function stringToArray()
203 203
     {
204
-        return function ($value) {
204
+        return function($value) {
205 205
             return [$value];
206 206
         };
207 207
     }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      */
212 212
     private function isNotHash()
213 213
     {
214
-        return function ($value) {
214
+        return function($value) {
215 215
             if (!is_array($value)) {
216 216
                 return true;
217 217
             }
Please login to merge, or discard this patch.