2121
2222class BodyRendererTest extends TestCase
2323{
24- public function testRenderTextOnly (): void
24+ public function testRenderTextOnly ()
2525 {
2626 $ email = $ this ->prepareEmail ('Text ' , null );
2727 $ this ->assertEquals ('Text ' , $ email ->getBody ()->bodyToString ());
2828 }
2929
30- public function testRenderHtmlOnly (): void
30+ public function testRenderHtmlOnly ()
3131 {
3232 $ html = '<head>head</head><b>HTML</b><style type="text/css">css</style> ' ;
3333 $ email = $ this ->prepareEmail (null , $ html );
@@ -37,7 +37,7 @@ public function testRenderHtmlOnly(): void
3737 $ this ->assertEquals (str_replace ('= ' , '=3D ' , $ html ), $ body ->getParts ()[1 ]->bodyToString ());
3838 }
3939
40- public function testRenderHtmlOnlyWithTextSet (): void
40+ public function testRenderHtmlOnlyWithTextSet ()
4141 {
4242 $ email = $ this ->prepareEmail (null , '<b>HTML</b> ' );
4343 $ email ->text ('Text ' );
@@ -47,7 +47,7 @@ public function testRenderHtmlOnlyWithTextSet(): void
4747 $ this ->assertEquals ('<b>HTML</b> ' , $ body ->getParts ()[1 ]->bodyToString ());
4848 }
4949
50- public function testRenderTextAndHtml (): void
50+ public function testRenderTextAndHtml ()
5151 {
5252 $ email = $ this ->prepareEmail ('Text ' , '<b>HTML</b> ' );
5353 $ body = $ email ->getBody ();
@@ -56,7 +56,7 @@ public function testRenderTextAndHtml(): void
5656 $ this ->assertEquals ('<b>HTML</b> ' , $ body ->getParts ()[1 ]->bodyToString ());
5757 }
5858
59- public function testRenderWithContextReservedEmailEntry (): void
59+ public function testRenderWithContextReservedEmailEntry ()
6060 {
6161 $ this ->expectException (InvalidArgumentException::class);
6262 $ this ->prepareEmail ('Text ' , '' , ['email ' => 'reserved! ' ]);
0 commit comments