diff --git a/app/Services/DirectonHtmlBuilder.php b/app/Services/DirectonHtmlBuilder.php
index f62dd29..5021b7f 100644
--- a/app/Services/DirectonHtmlBuilder.php
+++ b/app/Services/DirectonHtmlBuilder.php
@@ -28,34 +28,37 @@ class DirectonHtmlBuilder
$period = '
';
foreach ($direction['period'] as $key => $el) {
- $period .= '' . $key . ' - ' . '' . $el . '
' ;
+ $period .= '' . $key . ' - ' . '' . $el .
+ '
' ;
}
$EGE = '
';
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
- $EGE .= '' . $key . ' - ' . '' . $el . '
' ;
+ $EGE .= '' . $key . ' - ' . '' . $el .
+ '
' ;
}
//dd($direction);
$po_viboru = '
';
- if(array_key_exists('Предметы по выбору', $direction['entrance_examinations']['ЕГЭ'])){
+ if (array_key_exists('Предметы по выбору', $direction['entrance_examinations']['ЕГЭ'])) {
foreach ($direction['entrance_examinations']['ЕГЭ']['Предметы по выбору'] as $key => $el) {
- $po_viboru .= '' . $key . ' - ' . '' . $el . '
' ;
+ $po_viboru .= '' . $key . ' - ' . '' .
+ $el . '
' ;
}
}
$SPO = '
';
- if(array_key_exists('СПО', $direction['entrance_examinations'])){
+ if (array_key_exists('СПО', $direction['entrance_examinations'])) {
foreach ($direction['entrance_examinations']['СПО']['Обязательные'] as $key => $el) {
- $SPO .= '' . $key . ' - ' . '' . $el . '
' ;
+ $SPO .= '' . $key . ' - ' . '' . $el .
+ '
' ;
}
}
-
+ // phpcs:disable
$mgtu = '';
- if(array_key_exists('МГТУ', $direction['budget_places'])){
-
+ if (array_key_exists('МГТУ', $direction['budget_places'])) {
foreach ($direction['budget_places']['МГТУ'] as $profile_name => $profile) {
- $profile_content ='';
- foreach($profile as $forms => $budget_places){
+ $profile_content = '';
+ foreach ($profile as $forms => $budget_places) {
$profile_content .= " {$forms} - " . " {$budget_places}
";
}
$mgtu .= "