Passed
Push — master ( 49d752...4c7773 )
by Joe Nilson
03:19
created
extras/vendor/sendgrid/sendgrid/lib/mail/Asm.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         if ($group_id instanceof GroupId) {
64 64
             $this->group_id = $group_id->getGroupId();
65
-        } else {
65
+        }else {
66 66
             Assert::integer(
67 67
                 $group_id, 'group_id', 'Value "$group_id" must be an instance of SendGrid\Mail\GroupId or an integer.'
68 68
             );
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     {
102 102
         if ($groups_to_display instanceof GroupsToDisplay) {
103 103
             $this->groups_to_display = $groups_to_display->getGroupsToDisplay();
104
-        } else {
104
+        }else {
105 105
             Assert::isArray(
106 106
                 $groups_to_display, 'groups_to_display',
107 107
                 'Value "$groups_to_display" must be an instance of SendGrid\Mail\GroupsToDisplay or an array.'
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
                 'group_id' => $this->getGroupId(),
136 136
                 'groups_to_display' => $this->getGroupsToDisplay()
137 137
             ],
138
-            function ($value) {
138
+            function($value) {
139 139
                 return $value !== null;
140 140
             }
141 141
         ) ?: null;
Please login to merge, or discard this patch.
extras/vendor/sendgrid/sendgrid/lib/mail/TrackingSettings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
                 'subscription_tracking' => $this->getSubscriptionTracking(),
242 242
                 'ganalytics' => $this->getGanalytics()
243 243
             ],
244
-            function ($value) {
244
+            function($value) {
245 245
                 return $value !== null;
246 246
             }
247 247
         ) ?: null;
Please login to merge, or discard this patch.
extras/vendor/sendgrid/sendgrid/lib/mail/GroupsToDisplay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     public function addGroupToDisplay($group_to_display)
70 70
     {
71 71
         Assert::integer($group_to_display, 'group_to_display');
72
-        Assert::accept($group_to_display, 'group_to_display', function () {
72
+        Assert::accept($group_to_display, 'group_to_display', function() {
73 73
             $groups = $this->groups_to_display;
74 74
             if (!\is_array($groups)) {
75 75
                 $groups = [];
Please login to merge, or discard this patch.
extras/vendor/sendgrid/sendgrid/lib/mail/Footer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
                 'text' => $this->getText(),
129 129
                 'html' => $this->getHtml()
130 130
             ],
131
-            function ($value) {
131
+            function($value) {
132 132
                 return $value !== null;
133 133
             }
134 134
         ) ?: null;
Please login to merge, or discard this patch.
extras/vendor/sendgrid/sendgrid/lib/mail/BccSettings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
                 'enable' => $this->getEnable(),
100 100
                 'email' => $this->getEmail()
101 101
             ],
102
-            static function ($value) {
102
+            static function($value) {
103 103
                 return $value !== null;
104 104
             }
105 105
         ) ?: null;
Please login to merge, or discard this patch.
extras/vendor/sendgrid/sendgrid/lib/mail/Substitution.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function setValue($value)
77 77
     {
78
-        Assert::accept($value, 'value', static function ($val) {
78
+        Assert::accept($value, 'value', static function($val) {
79 79
             return \is_string($val)
80 80
                 || filter_var($val, FILTER_VALIDATE_INT) !== false
81 81
                 || \is_float($val)
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
                 'key' => $this->getKey(),
111 111
                 'value' => $this->getValue()
112 112
             ],
113
-            function ($value) {
113
+            function($value) {
114 114
                 return $value !== null;
115 115
             }
116 116
         ) ?: null;
Please login to merge, or discard this patch.
extras/vendor/sendgrid/sendgrid/lib/mail/OpenTracking.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
                 'enable' => $this->getEnable(),
114 114
                 'substitution_tag' => $this->getSubstitutionTag()
115 115
             ],
116
-            function ($value) {
116
+            function($value) {
117 117
                 return $value !== null;
118 118
             }
119 119
         ) ?: null;
Please login to merge, or discard this patch.
extras/vendor/sendgrid/sendgrid/lib/mail/Attachment.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
         if (!$this->isBase64($content)) {
76 76
             $this->content = base64_encode($content);
77
-        } else {
77
+        }else {
78 78
             $this->content = $content;
79 79
         }
80 80
     }
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
                 'disposition' => $this->getDisposition(),
219 219
                 'content_id' => $this->getContentID()
220 220
             ],
221
-            function ($value) {
221
+            function($value) {
222 222
                 return $value !== null;
223 223
             }
224 224
         ) ?: null;
Please login to merge, or discard this patch.
extras/vendor/sendgrid/sendgrid/lib/mail/Ganalytics.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
                 'utm_content' => $this->getCampaignContent(),
232 232
                 'utm_campaign' => $this->getCampaignName()
233 233
             ],
234
-            function ($value) {
234
+            function($value) {
235 235
                 return $value !== null;
236 236
             }
237 237
         ) ?: null;
Please login to merge, or discard this patch.