Skip to content

Commit

Permalink
substr(): Passing null to parameter #1 ($string) of type string is de…
Browse files Browse the repository at this point in the history
…precated
  • Loading branch information
escopecz committed Jun 9, 2023
1 parent 1d76fc9 commit 2e9353f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ public function testSmtpTransportIsReturnedIfServiceNotUsed()
$this->container->expects($this->never())
->method('get');

$this->requestContext->method('getHost')->willReturn('host');

$options = ['transport' => 'smtp'];

$transport = SwiftmailerTransportFactory::createTransport($options, $this->requestContext, $this->eventDispatcher, $this->container);
Expand Down

0 comments on commit 2e9353f

Please sign in to comment.