Skip to content

Commit

Permalink
Coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppekroghitk committed Jan 3, 2025
1 parent 68702ae commit 377b748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Service/DataSynchronizationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use App\Entity\Account;
use App\Entity\Client;
use App\Entity\DataProvider;
use App\Entity\Epic;
use App\Entity\Invoice;
use App\Entity\Issue;
use App\Entity\Project;
Expand Down
4 changes: 3 additions & 1 deletion src/Service/JiraApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,9 @@ public function getIssuesDataForProjectPaged(string $projectId, $startAt = 0, $m
$this->epicRepository->save($epic);
}

$issueData->epics->add($epic);
if ($epic) {
$issueData->epics->add($epic);
}
}

foreach ($fields->fixVersions ?? [] as $fixVersion) {
Expand Down

0 comments on commit 377b748

Please sign in to comment.