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
123123 public function __construct (
124124 EmailMessageInterface $ message ,
125125 ScopeConfigInterface $ scopeConfig ,
126- LoggerInterface $ logger = null
126+ ? LoggerInterface $ logger = null
127127 ) {
128128 $ this ->isSetReturnPath = (int ) $ scopeConfig ->getValue (
129129 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
309309 * @param array $addressList
310310 * @return array
311311 */
312- private function convertAddressListToAddressArray ($ addressList ): array
312+ private function convertAddressListToAddressArray (array $ addressList ): array
313313 {
314314 return array_map (function ($ address ) {
315315 return $ this ->addressFactory ->create ([
You can’t perform that action at this time.
0 commit comments