Skip to content

Commit

Permalink
Merge pull request #28 from Ivorius/app3.0.3
Browse files Browse the repository at this point in the history
Fix compatibility with nette/application 3.0.3
  • Loading branch information
hrach authored Mar 5, 2020
2 parents 8ae427f + 40b1d12 commit e81e15f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"php": "^7.1",
"nette/application": "^3.0",
"nette/application": "^3.0.3",
"nette/utils": "^3.0",
"nette/reflection": "^2.4"
},
Expand Down
4 changes: 2 additions & 2 deletions src/SecuredLinksControlTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public function signalReceived(string $signal): void
}
if (isset($this->params[$param->name])) {
$params[$param->name] = $this->params[$param->name];
list($type, $isClass) = Nette\Application\UI\ComponentReflection::getParameterType($param);
Nette\Application\UI\ComponentReflection::convertType($params[$param->name], $type, $isClass);
$type = Nette\Application\UI\ComponentReflection::getParameterType($param);
Nette\Application\UI\ComponentReflection::convertType($params[$param->name], $type);
}
}
}
Expand Down

0 comments on commit e81e15f

Please sign in to comment.