summaryrefslogtreecommitdiff
path: root/app/Model/TaskImport.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/TaskImport.php')
-rw-r--r--app/Model/TaskImport.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Model/TaskImport.php b/app/Model/TaskImport.php
index 92c8f400..da34559f 100644
--- a/app/Model/TaskImport.php
+++ b/app/Model/TaskImport.php
@@ -71,12 +71,10 @@ class TaskImport extends Base
if ($this->taskCreation->create($row) > 0) {
$this->logger->debug('TaskImport: imported successfully line '.$line_number);
$this->counter++;
- }
- else {
+ } else {
$this->logger->error('TaskImport: creation error at line '.$line_number);
}
- }
- else {
+ } else {
$this->logger->error('TaskImport: validation error at line '.$line_number);
}
}