Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig authored and github-actions[bot] committed Dec 11, 2024
1 parent 8bfb146 commit 3c5eb57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Element/Schema/Subtype.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,4 @@ public function getElementSubtype(): string
{
return $this->elementSubtype;
}


}
4 changes: 2 additions & 2 deletions src/Element/Service/ElementService.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function getElementSubtype(ElementParameters $parameters): Subtype

$subtype = new Subtype($parameters->getId(), $parameters->getType(), $this->getSubtypeFromElement($element));
$this->eventDispatcher->dispatch(new ElementSubtypeEvent($subtype), ElementSubtypeEvent::EVENT_NAME);

return $subtype;
}

Expand All @@ -131,7 +131,7 @@ private function getSubtypeFromElement(ElementInterface $element): string
if ($subtype === null) {
throw new ApiNotFoundException('Subtype for Element', $element->getId());
}

return $subtype;
}
}

0 comments on commit 3c5eb57

Please sign in to comment.