diff --git a/app/Services/DirectonHtmlBuilder.php b/app/Services/DirectonHtmlBuilder.php index af5ce2a..3575c6f 100644 --- a/app/Services/DirectonHtmlBuilder.php +++ b/app/Services/DirectonHtmlBuilder.php @@ -2,9 +2,7 @@ namespace App\Services; -use App\Models\Direction; use Illuminate\Support\Facades\URL; -use PhpParser\Node\Expr\Array_; class DirectonHtmlBuilder { @@ -15,6 +13,7 @@ class DirectonHtmlBuilder { $this->direction = $direction; } + public function getHTML() { @@ -22,12 +21,9 @@ class DirectonHtmlBuilder $direction = $this->direction; - $fon_3 = URL::to('img/front-page/bakalavr-special/fon3_blok.png'); - - $educationForms = ''; foreach ($direction['educationForms'] as $key => $educationForm) { $educationForms .= $key . ', '; @@ -35,7 +31,6 @@ class DirectonHtmlBuilder $educationForms = substr($educationForms, 0, -2); - // phpcs:disable $budget_places_array = array(); @@ -96,76 +91,68 @@ class DirectonHtmlBuilder return "
{$direction['description']}
+{$direction['description']}
+