File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ,
Original file line number Diff line number Diff 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 )) {
You can’t perform that action at this time.
0 commit comments