diff --git a/composer.json b/composer.json index 73c83a7..0796fee 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ ], "require": { "php": "^7.2 || ^8.0", - "nette/application": "^3.2", + "nette/application": "^3.2.3", "nette/utils": "^3.0 || ^4.0" }, "require-dev": { diff --git a/src/SecuredLinksControlTrait.php b/src/SecuredLinksControlTrait.php index 3ab488c..43f82e2 100644 --- a/src/SecuredLinksControlTrait.php +++ b/src/SecuredLinksControlTrait.php @@ -52,8 +52,8 @@ public function signalReceived(string $signal): void } if (isset($this->params[$param->name])) { $params[$param->name] = $this->params[$param->name]; - $type = Nette\Application\UI\ComponentReflection::getType($param); - Nette\Application\UI\ComponentReflection::convertType($params[$param->name], $type); + $type = Nette\Application\UI\ParameterConverter::getType($param); + Nette\Application\UI\ParameterConverter::convertType($params[$param->name], $type); } } }