Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bf8234b

Browse filesBrowse files
committed
[Notifier] Add MessageMedia Bridge
fix code standard
1 parent bd44a33 commit bf8234b
Copy full SHA for bf8234b

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎src/Symfony/Component/Notifier/Bridge/MessageMedia/MessageMediaTransport.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/MessageMedia/MessageMediaTransport.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class MessageMediaTransport extends AbstractTransport
3232
private $apiSecret;
3333
private $from;
3434

35-
public function __construct(string $apiKey, string $apiSecret, ?string $from = null, ?HttpClientInterface $client = null, ?EventDispatcherInterface $dispatcher = null)
35+
public function __construct(string $apiKey, string $apiSecret, string $from = null, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
3636
{
3737
$this->apiKey = $apiKey;
3838
$this->apiSecret = $apiSecret;

‎src/Symfony/Component/Notifier/Bridge/MessageMedia/Tests/MessageMediaTransportTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/MessageMedia/Tests/MessageMediaTransportTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class MessageMediaTransportTest extends TransportTestCase
2828
/**
2929
* @return MessageMediaTransport
3030
*/
31-
public function createTransport(?HttpClientInterface $client = null, ?string $from = null): TransportInterface
31+
public function createTransport(HttpClientInterface $client = null, string $from = null): TransportInterface
3232
{
3333
return new MessageMediaTransport('apiKey', 'apiSecret', $from, $client ?? $this->createMock(HttpClientInterface::class));
3434
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.