Skip to content

Commit a7b2e3d

Browse files
committed
Merge branch 'master' of github.com:beyondcode/laravel-mailbox
2 parents 19c88d4 + 38e2a44 commit a7b2e3d

26 files changed

+71
-85
lines changed

config/mailbox.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
*/
4545
'basic_auth' => [
4646
'username' => env('MAILBOX_HTTP_USERNAME', 'laravel-mailbox'),
47-
'password' => env('MAILBOX_HTTP_PASSWORD')
47+
'password' => env('MAILBOX_HTTP_PASSWORD'),
4848
],
4949

5050
/*
@@ -56,6 +56,6 @@
5656
'key' => env('MAILBOX_MAILGUN_KEY'),
5757
],
5858

59-
]
59+
],
6060

61-
];
61+
];

src/Concerns/HandlesParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ protected function matchToKeys(array $matches)
3737
return is_string($value) && strlen($value) > 0;
3838
});
3939
}
40-
}
40+
}

src/Concerns/HandlesRegularExpressions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ protected function parseWhere($name, $expression)
4646
{
4747
return is_array($name) ? $name : [$name => $expression];
4848
}
49-
}
49+
}

src/Console/CleanEmails.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ public function handle()
2626

2727
$this->comment('All done!');
2828
}
29-
}
29+
}

src/Drivers/DriverInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
interface DriverInterface
66
{
77
public function register();
8-
}
8+
}

src/Drivers/Log.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
class Log implements DriverInterface
1010
{
11-
1211
public function register()
1312
{
1413
app('events')->listen(MessageLogged::class, [$this, 'processLog']);
@@ -20,4 +19,4 @@ public function processLog(MessageLogged $log)
2019

2120
Mailbox::callMailboxes($email);
2221
}
23-
}
22+
}

src/Drivers/Mailgun.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77

88
class Mailgun implements DriverInterface
99
{
10-
1110
public function register()
1211
{
1312
Route::prefix(config('mailbox.path'))->group(function () {
1413
Route::post('/mailgun/mime', MailgunController::class);
1514
});
1615
}
17-
}
16+
}

src/Drivers/SendGrid.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
namespace BeyondCode\Mailbox\Drivers;
44

5-
use BeyondCode\Mailbox\Http\Controllers\SendGridController;
65
use Illuminate\Support\Facades\Route;
6+
use BeyondCode\Mailbox\Http\Controllers\SendGridController;
77

88
class SendGrid implements DriverInterface
99
{
10-
1110
public function register()
1211
{
1312
Route::prefix(config('mailbox.path'))->group(function () {
1413
Route::post('/sendgrid', SendGridController::class);
1514
});
1615
}
17-
}
16+
}

src/Facades/Mailbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ protected static function getFacadeAccessor()
1010
{
1111
return 'mailbox';
1212
}
13-
}
13+
}

src/Http/Controllers/MailgunController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ public function __invoke(MailgunRequest $request)
1111
{
1212
Mailbox::callMailboxes($request->email());
1313
}
14-
}
14+
}

0 commit comments

Comments
 (0)