Skip to content

Commit 9823168

Browse files
committed
#65 Povýšení contributte/recaptcha
1 parent 83efa11 commit 9823168

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/php-package-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
php: [ 7.4, 8.0, 8.1 ]
12+
php: [ 8.1 ]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- uses: shivammathur/setup-php@v2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^7.4 || ^8.0",
21+
"php": "^8.1",
2222
"ext-json": "*",
2323
"nette/application": "~2.4|~3.0.0|~3.1.0",
2424
"nette/forms": "~2.4|~3.0.0|~3.1.0",
25-
"contributte/recaptcha": "^3.1",
25+
"contributte/recaptcha": "^4.0.2",
2626
"nette/di": "~2.4|^3.0.0",
27-
"nette/utils": "~2.4|~3.0.0|~3.1.0|~3.2.0",
27+
"nette/utils": "~2.4|~3.0.0|~3.1.0|~3.2.0|~4.0.3",
2828
"pd/utils": "^1.0"
2929
},
3030
"require-dev": {

src/RuleOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function jsonSerialize()
195195
}
196196

197197
if (\count($messages)) {
198-
$serialized['msg'] = \array_map(function (string $message): string {
198+
$serialized['msg'] = \array_map(function (string $message): string|\Stringable {
199199
return $this->translator->translate($message);
200200
}, $messages);
201201
}

0 commit comments

Comments
 (0)