Skip to content

Commit a3a338c

Browse files
committed
requires nette/utils 3.2
1 parent 2cb0e4f commit a3a338c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"nette/component-model": "^3.0",
2020
"nette/http": "^3.0.2",
2121
"nette/routing": "~3.0.0",
22-
"nette/utils": "^3.1"
22+
"nette/utils": "^3.2"
2323
},
2424
"suggest": {
2525
"nette/forms": "Allows to use Nette\\Application\\UI\\Form",

src/Bridges/ApplicationLatte/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function addFunction(string $name, callable $callback)
104104
* Sets translate adapter.
105105
* @return static
106106
*/
107-
public function setTranslator(?Nette\Localization\ITranslator $translator)
107+
public function setTranslator(?Nette\Localization\Translator $translator)
108108
{
109109
$this->latte->addFilter('translate', function (Latte\Runtime\FilterInfo $fi, ...$args) use ($translator): string {
110110
return $translator === null

0 commit comments

Comments
 (0)