We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77d4c49 commit b77fbddCopy full SHA for b77fbdd
1 file changed
src/Forms/Container.php
@@ -248,10 +248,9 @@ public function getCurrentGroup(): ?ControlGroup
248
249
/**
250
* Adds the specified component to the IContainer.
251
- * @return static
252
* @throws Nette\InvalidStateException
253
*/
254
- public function addComponent(Nette\ComponentModel\IComponent $component, ?string $name, string $insertBefore = null)
+ public function addComponent(Nette\ComponentModel\IComponent $component, ?string $name, string $insertBefore = null): static
255
{
256
parent::addComponent($component, $name, $insertBefore);
257
if ($this->currentGroup !== null) {
0 commit comments