Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStorz committed Feb 15, 2024
1 parent cb4a96f commit 33f8093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/FetchAllGroupsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ private function fetchGroupRecursive(int $id, ?StatisticGroup $parent, ?Statisti
*/
$groupType = $this->groupTypeRepository->findOneBy(['deLabel' => $rawGroup['group_type']]);
$invalid_group_type = is_null($groupType);
if($invalid_group_type) {
if ($invalid_group_type) {
$this->gelfLogger->warning(
new SimpleLogMessage('Invalid grouptype detected, skipping group: '.$id)
new SimpleLogMessage('Invalid grouptype detected, skipping group: ' . $id)
);
return;
}
Expand Down

0 comments on commit 33f8093

Please sign in to comment.