Skip to content

Commit 8c8b0a8

Browse files
Update method doc blocks
Fixes according to static test failures
1 parent 5548c9d commit 8c8b0a8

File tree

1 file changed

+12
-0
lines changed
  • app/code/Magento/Sales/Model/Order/Email

1 file changed

+12
-0
lines changed

app/code/Magento/Sales/Model/Order/Email/Sender.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ public function __construct(
6565
}
6666

6767
/**
68+
* Send order email if it is enabled in configuration.
69+
*
6870
* @param Order $order
6971
* @return bool
7072
*/
@@ -94,6 +96,8 @@ protected function checkAndSend(Order $order)
9496
}
9597

9698
/**
99+
* Populate order email template with customer information.
100+
*
97101
* @param Order $order
98102
* @return void
99103
*/
@@ -115,6 +119,8 @@ protected function prepareTemplate(Order $order)
115119
}
116120

117121
/**
122+
* Create Sender object using appropriate template and identity.
123+
*
118124
* @return Sender
119125
*/
120126
protected function getSender()
@@ -128,6 +134,8 @@ protected function getSender()
128134
}
129135

130136
/**
137+
* Get template options.
138+
*
131139
* @return array
132140
*/
133141
protected function getTemplateOptions()
@@ -139,6 +147,8 @@ protected function getTemplateOptions()
139147
}
140148

141149
/**
150+
* Render shipping address into html.
151+
*
142152
* @param Order $order
143153
* @return string|null
144154
*/
@@ -150,6 +160,8 @@ protected function getFormattedShippingAddress($order)
150160
}
151161

152162
/**
163+
* Render billing address into html.
164+
*
153165
* @param Order $order
154166
* @return string|null
155167
*/

0 commit comments

Comments
 (0)