File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Email/Model
lib/internal/Magento/Framework/Mail Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ class Transport implements TransportInterface
123
123
public function __construct (
124
124
EmailMessageInterface $ message ,
125
125
ScopeConfigInterface $ scopeConfig ,
126
- LoggerInterface $ logger = null
126
+ ? LoggerInterface $ logger = null
127
127
) {
128
128
$ this ->isSetReturnPath = (int ) $ scopeConfig ->getValue (
129
129
self ::XML_PATH_SENDING_SET_RETURN_PATH ,
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ public function toString(): string
309
309
* @param array $addressList
310
310
* @return array
311
311
*/
312
- private function convertAddressListToAddressArray ($ addressList ): array
312
+ private function convertAddressListToAddressArray (array $ addressList ): array
313
313
{
314
314
return array_map (function ($ address ) {
315
315
return $ this ->addressFactory ->create ([
You can’t perform that action at this time.
0 commit comments