Skip to content

Commit 771a44b

Browse files
authored
Merge pull request #4 from reva2/feature/reva2-json-api-3.2
Upgrade to reva2/json-api:^3.2
2 parents 343620a + 2925719 commit 771a44b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"require": {
1515
"php": ">=8.2",
1616
"symfony/framework-bundle": "^7.0",
17-
"reva2/jsonapi": "^3.1"
17+
"reva2/jsonapi": "^3.2"
1818
},
1919
"autoload": {
2020
"psr-4": {

src/CallbackResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(ContainerInterface $container)
4545
* @return callable
4646
* @throws \Exception
4747
*/
48-
public function resolveCallback($name)
48+
public function resolveCallback(string $name): callable
4949
{
5050
$callback = $name;
5151
if (preg_match(static::SERVICE_PATTERN, $name)) {

0 commit comments

Comments
 (0)