Skip to content

Commit c1d122f

Browse files
authored
Add support for Laravel 10 (#17)
* Add support for Laravel 10 * Apply linting --------- Co-authored-by: Jonny Ingall <[email protected]>
1 parent 0e3c374 commit c1d122f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
],
2323
"require": {
2424
"php": "^8.0.2",
25-
"guzzlehttp/guzzle": "^7.2",
26-
"laravel/framework": "^9.0"
25+
"laravel/framework": "^9.0|^10.0"
2726
},
2827
"scripts": {
2928
"lint": "vendor/bin/pint --test",

src/Transport.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ class Transport extends AbstractTransport
1313
{
1414
/**
1515
* Graph api configuration
16-
*
17-
* @var array
1816
*/
1917
private array $config;
2018

2119
public function __construct(array $config)
2220
{
2321
parent::__construct(null, null);
24-
$this->config = $config['mailers']['graph-api'];
22+
$this->config = $config;
2523
}
2624

2725
protected function doSend(SentMessage $message): void

0 commit comments

Comments
 (0)