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