Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Fix return this for void
Browse files Browse the repository at this point in the history
  • Loading branch information
Mischa Braam committed Aug 31, 2020
1 parent 4adfa3c commit 49e7efb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Mail/Template/TransportBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]",
Expand Down

0 comments on commit 49e7efb

Please sign in to comment.