From 49e7efb982e29ae64e81b6de06bc74d4de615221 Mon Sep 17 00:00:00 2001 From: Mischa Braam Date: Mon, 31 Aug 2020 11:17:46 +0200 Subject: [PATCH] Fix return this for void --- Mail/Template/TransportBuilder.php | 2 -- composer.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Mail/Template/TransportBuilder.php b/Mail/Template/TransportBuilder.php index f085a01..37115e4 100644 --- a/Mail/Template/TransportBuilder.php +++ b/Mail/Template/TransportBuilder.php @@ -364,8 +364,6 @@ private function addAddressByType(string $addressType, $email, ?string $name = n $convertedAddressArray = $this->addressConverter->convertMany($email); $this->messageData[$addressType] = array_merge($this->messageData[$addressType] ?? [], $convertedAddressArray); - - return $this; } /** diff --git a/composer.json b/composer.json index 74d2989..c8ffe96 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "weprovide/magento2-module-mailattachment", "description": "Extends TransportBuilder with attachment functionality", "type": "magento2-module", - "version": "2.1.2", + "version": "2.1.3", "authors": [ { "email": "sander@weprovide.com",