Skip to content

Commit bca6e58

Browse files
committed
Fix camel caps format
1 parent db498a9 commit bca6e58

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugin/customcertificate/src/print_certificate.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,19 +183,19 @@ class = "caraA"
183183
$htmlText .= '</tr>';
184184
$htmlText .= '</table>';
185185

186-
$all_user_info = DocumentManager::get_all_info_to_certificate(
186+
$allUserInfo = DocumentManager::get_all_info_to_certificate(
187187
$studentId,
188188
$courseCode,
189189
false
190190
);
191191

192192
$myContentHtml = $infoCertificate['content_course'];
193193
$myContentHtml = str_replace(chr(13).chr(10).chr(13).chr(10), chr(13).chr(10), $myContentHtml);
194-
$info_to_be_replaced_in_content_html = $all_user_info[0];
195-
$info_to_replace_in_content_html = $all_user_info[1];
194+
$infoToBeReplacedInContentHtml = $allUserInfo[0];
195+
$infoToReplaceInContentHtml = $allUserInfo[1];
196196
$myContentHtml = str_replace(
197-
$info_to_be_replaced_in_content_html,
198-
$info_to_replace_in_content_html,
197+
$infoToBeReplacedInContentHtml,
198+
$infoToReplaceInContentHtml,
199199
$myContentHtml
200200
);
201201

@@ -254,7 +254,7 @@ class = "caraA"
254254
);
255255
}
256256
} elseif ($infoCertificate['type_date_expediction'] == 4) {
257-
$dateExpediction .= $plugin->get_lang('to').$info_to_replace_in_content_html[9]; //date_certificate_no_time
257+
$dateExpediction .= $plugin->get_lang('to').$infoToReplaceInContentHtml[9]; //date_certificate_no_time
258258
} else {
259259
if (!empty($sessionInfo)) {
260260
$dateInfo = api_get_local_time($sessionInfo['access_end_date']);

0 commit comments

Comments
 (0)