Passed
Pull Request — master (#125)
by
unknown
06:02 queued 02:47
created
src/InboundEmail.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     {
30 30
         parent::boot();
31 31
 
32
-        static::creating(function ($model) {
32
+        static::creating(function($model) {
33 33
             $model->message_id = $model->id();
34 34
         });
35 35
     }
@@ -152,11 +152,11 @@  discard block
 block discarded – undo
152 152
             $usesSymfonyMailer = version_compare(app()->version(), '9.0.0', '>');
153 153
 
154 154
             if ($usesSymfonyMailer) {
155
-                $mailable->withSymfonyMessage(function (\Symfony\Component\Mime\Email $email) {
155
+                $mailable->withSymfonyMessage(function(\Symfony\Component\Mime\Email $email) {
156 156
                     $email->getHeaders()->addIdHeader('In-Reply-To', $this->id());
157 157
                 });
158 158
             } else {
159
-                $mailable->withSwiftMessage(function (\Swift_Message $message) {
159
+                $mailable->withSwiftMessage(function(\Swift_Message $message) {
160 160
                     $message->getHeaders()->addIdHeader('In-Reply-To', $this->id());
161 161
                 });
162 162
             }
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 
168 168
     public function forward($recipients)
169 169
     {
170
-        return Mail::send([], [], function ($message) use ($recipients) {
170
+        return Mail::send([], [], function($message) use ($recipients) {
171 171
             $message->to($recipients)
172 172
                 ->subject($this->subject())
173 173
                 ->setBody($this->body(), $this->message()->getContentType());
Please login to merge, or discard this patch.
src/Routing/Route.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         $subjects = $this->gatherMatchSubjectsFromMessage($message);
75 75
 
76
-        return Collection::make($subjects)->first(function (string $subject) {
76
+        return Collection::make($subjects)->first(function(string $subject) {
77 77
             return $this->matchesRegularExpression($subject);
78 78
         }) !== null;
79 79
     }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     protected function convertMessageAddresses($addresses): array
107 107
     {
108 108
         return Collection::make($addresses)
109
-            ->map(function (AddressPart $address) {
109
+            ->map(function(AddressPart $address) {
110 110
                 return $address->getEmail();
111 111
             })->toArray();
112 112
     }
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 
150 150
     public function getMailbox()
151 151
     {
152
-        if (! $this->mailbox) {
152
+        if ( ! $this->mailbox) {
153 153
             $class = $this->parseMailboxCallback()[0];
154 154
 
155 155
             $this->mailbox = $this->container->make(ltrim($class, '\\'));
Please login to merge, or discard this patch.
src/Console/CleanEmails.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
         $modelClass::where('created_at', '<', $cutOffDate)
39 39
             ->select('id')
40
-            ->chunk(100, function ($models) use ($modelClass) {
40
+            ->chunk(100, function($models) use ($modelClass) {
41 41
                 foreach ($models as $model) {
42 42
                     $modelInstance = $modelClass::find($model->id);
43 43
                     $modelInstance->delete();
Please login to merge, or discard this patch.