From 1dadb80322e4d97f5965ecdc5c18ac2477697347 Mon Sep 17 00:00:00 2001
From: Stein Magne Bjorklund <steinmb@smbjorklund.com>
Date: Mon, 20 Sep 2021 19:41:41 +0200
Subject: [PATCH] Cleanup Importer::showFinishing()

---
 classes/Importer.php | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/classes/Importer.php b/classes/Importer.php
index 90226c1a..f85bbd26 100644
--- a/classes/Importer.php
+++ b/classes/Importer.php
@@ -350,18 +350,19 @@ class Importer
         echo $doc;
     }
 
-    private function showFinishing()
+    private function showFinishing(): void
     {
-        $doc = "<html>
+        echo <<<HTML
+<html lang="eng">
   	<head>
-  	<title>Finishing import</title>
+  	    <title>Finishing import</title>
   	</head>
   	<body>
-  	<h2>Import finished</h2>
-  	Your new application is ready. Please go to the <a href='" . $this->basedir . "'>home page</a>.
+        <h2>Import finished</h2>
+        Your new application is ready. Please go to the <a href='" . $this->basedir . "'>home page</a>.
   	</body>
-  	</html>";
-        echo $doc;
+</html>
+HTML;
     }
 
 }
-- 
GitLab