diff --git a/app/Services/DirectonHtmlBuilder.php b/app/Services/DirectonHtmlBuilder.php
index 82cc2ae..4774833 100644
--- a/app/Services/DirectonHtmlBuilder.php
+++ b/app/Services/DirectonHtmlBuilder.php
@@ -14,7 +14,6 @@ class DirectonHtmlBuilder
public function __construct($direction)
{
$this->direction = $direction;
-
}
public function getHTML()
{
@@ -37,15 +36,14 @@ class DirectonHtmlBuilder
-
+ // phpcs:disable
$budget_places_array = array();
- foreach ($direction['educationForms'] as $key => $educationForm){
+ foreach ($direction['educationForms'] as $key => $educationForm) {
$budget_places_array[$key] = $educationForm['budget_places'];
}
$budget_places = '
';
- foreach ($budget_places_array as $key => $item){
-
+ foreach ($budget_places_array as $key => $item) {
$budget_places .= "$key - $item
";
}
@@ -60,12 +58,11 @@ class DirectonHtmlBuilder
$profiles = '';
//if (array_key_exists('educationalInstitution',$direction)) echo '+++++'; else echo '----';
//exit();
- if (array_key_exists('educationalInstitution',$direction)) {
+ if (array_key_exists('educationalInstitution', $direction)) {
foreach ($direction['educationalInstitution'] as $educationalInstitution_name => $educationalInstitution) {
$profile_out = '
';
$profiles .= "
{$educationalInstitution_name}
"; foreach ($educationalInstitution as $profile_name => $profile) { - foreach ($profile as $key => $value) { $profile_out .= "{$key} - {$value['budget_places']}