You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -163,7 +163,7 @@ public function isFilled(): bool
163
163
* Sets the default value. Has no effect on submitted or disabled controls.
164
164
* @return static
165
165
*/
166
-
publicfunctionsetDefaultValue($value)
166
+
publicfunctionsetDefaultValue(mixed$value)
167
167
{
168
168
$form = $this->getForm(throw: false);
169
169
if ($this->isDisabled() || !$form || !$form->isAnchored() || !$form->isSubmitted()) {
@@ -369,7 +369,7 @@ public function getTranslator(): ?Nette\Localization\Translator
369
369
/**
370
370
* Translates a string or array of strings using the configured translator, or returns the value unchanged if no translator is set or the value is HtmlStringable.
0 commit comments