We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 343620a + 2925719 commit 771a44bCopy full SHA for 771a44b
2 files changed
composer.json
@@ -14,7 +14,7 @@
14
"require": {
15
"php": ">=8.2",
16
"symfony/framework-bundle": "^7.0",
17
- "reva2/jsonapi": "^3.1"
+ "reva2/jsonapi": "^3.2"
18
},
19
"autoload": {
20
"psr-4": {
src/CallbackResolver.php
@@ -45,7 +45,7 @@ public function __construct(ContainerInterface $container)
45
* @return callable
46
* @throws \Exception
47
*/
48
- public function resolveCallback($name)
+ public function resolveCallback(string $name): callable
49
{
50
$callback = $name;
51
if (preg_match(static::SERVICE_PATTERN, $name)) {
0 commit comments