File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1616 ],
1717 "require" : {
1818 "php" : " >=7.1" ,
19- "nette/component-model" : " ^3.0" ,
19+ "nette/component-model" : " ^3.0.0-beta2 " ,
2020 "nette/http" : " ^2.3.8 || ~3.0.0" ,
2121 "nette/utils" : " ^3.0-beta2"
2222 },
Original file line number Diff line number Diff line change @@ -188,12 +188,10 @@ public function getCurrentGroup(): ?ControlGroup
188188
189189 /**
190190 * Adds the specified component to the IContainer.
191- * @param string|int $name
192- * @param string|int $insertBefore
193191 * @return static
194192 * @throws Nette\InvalidStateException
195193 */
196- public function addComponent (Nette \ComponentModel \IComponent $ component , $ name , $ insertBefore = null )
194+ public function addComponent (Nette \ComponentModel \IComponent $ component , ? string $ name , string $ insertBefore = null )
197195 {
198196 parent ::addComponent ($ component , $ name , $ insertBefore );
199197 if ($ this ->currentGroup !== null ) {
You can’t perform that action at this time.
0 commit comments