Skip to content

Commit 3f6b233

Browse files
committed
please the linter
1 parent 394890e commit 3f6b233

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Controller/Entry/EntryFrontController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ private function renderResponse(Request $request, Criteria $criteria, array $dat
218218
} else {
219219
// check if teh "random" magazine exists and if so, use it
220220
$randomMagazine = $this->magazineRepository->findOneByName('random');
221-
if(null !== $randomMagazine) {
221+
if (null !== $randomMagazine) {
222222
$dto->magazine = $randomMagazine;
223223
}
224224
}

src/Controller/Post/PostCreateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __invoke(Request $request): Response
3434
$dto = new PostDto();
3535
// check if teh "random" magazine exists and if so, use it
3636
$randomMagazine = $this->magazineRepository->findOneByName('random');
37-
if(null !== $randomMagazine) {
37+
if (null !== $randomMagazine) {
3838
$dto->magazine = $randomMagazine;
3939
}
4040

0 commit comments

Comments
 (0)