Skip to content

Commit b77fbdd

Browse files
committed
fix
1 parent 77d4c49 commit b77fbdd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Forms/Container.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,9 @@ public function getCurrentGroup(): ?ControlGroup
248248

249249
/**
250250
* Adds the specified component to the IContainer.
251-
* @return static
252251
* @throws Nette\InvalidStateException
253252
*/
254-
public function addComponent(Nette\ComponentModel\IComponent $component, ?string $name, string $insertBefore = null)
253+
public function addComponent(Nette\ComponentModel\IComponent $component, ?string $name, string $insertBefore = null): static
255254
{
256255
parent::addComponent($component, $name, $insertBefore);
257256
if ($this->currentGroup !== null) {

0 commit comments

Comments
 (0)