Skip to content

Commit ee57444

Browse files
committed
CS Fixes
1 parent 653c9ef commit ee57444

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

src/Entity/Core/ComponentGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232
#[Silverback\Timestamped]
3333
#[ApiResource(
34-
requirements: ['id' => ".+"],
34+
requirements: ['id' => '.+'],
3535
normalizationContext: ['groups' => ['ComponentGroup:read']],
3636
denormalizationContext: ['groups' => ['ComponentGroup:write']],
3737
mercure: true,

src/Entity/Utility/UiTrait.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ public function getComponentGroups(): Collection|array
5555
return $this->componentGroups;
5656
}
5757

58-
/**
59-
* @return static
60-
*/
6158
public function setComponentGroups(iterable $componentGroups): static
6259
{
6360
$this->componentGroups = new ArrayCollection();
@@ -68,9 +65,6 @@ public function setComponentGroups(iterable $componentGroups): static
6865
return $this;
6966
}
7067

71-
/**
72-
* @return static
73-
*/
7468
public function addComponentGroup(ComponentGroup $componentGroup): static
7569
{
7670
if (!$this->componentGroups->contains($componentGroup)) {
@@ -80,9 +74,6 @@ public function addComponentGroup(ComponentGroup $componentGroup): static
8074
return $this;
8175
}
8276

83-
/**
84-
* @return static
85-
*/
8677
public function removeComponentGroup(ComponentGroup $componentGroup): static
8778
{
8879
if ($this->componentGroups->contains($componentGroup)) {

0 commit comments

Comments
 (0)