mirror of
https://github.com/danog/psalm-plugin-symfony.git
synced 2024-11-30 04:29:10 +01:00
psalm 5.1
This commit is contained in:
parent
44f61e2016
commit
16398e69d2
@ -13,7 +13,7 @@
|
|||||||
"php": "^7.4 || ^8.0",
|
"php": "^7.4 || ^8.0",
|
||||||
"ext-simplexml": "*",
|
"ext-simplexml": "*",
|
||||||
"symfony/framework-bundle": "^5.0 || ^6.0",
|
"symfony/framework-bundle": "^5.0 || ^6.0",
|
||||||
"vimeo/psalm": "^5.0"
|
"vimeo/psalm": "^5.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/form": "^5.0 || ^6.0",
|
"symfony/form": "^5.0 || ^6.0",
|
||||||
|
@ -7,9 +7,9 @@ interface DenormalizerInterface
|
|||||||
/**
|
/**
|
||||||
* @template TObject of object
|
* @template TObject of object
|
||||||
* @template TType of string|class-string<TObject>
|
* @template TType of string|class-string<TObject>
|
||||||
* @psalm-param mixed $data
|
*
|
||||||
* @psalm-param TType $type
|
* @psalm-param TType $type
|
||||||
* @psalm-return (TType is class-string<TObject> ? TObject : mixed)
|
* @psalm-return (TType is class-string<TObject> ? TObject : mixed)
|
||||||
*/
|
*/
|
||||||
public function denormalize($data, string $type, string $format = null, array $context = []);
|
public function denormalize(mixed $data, string $type, string $format = null, array $context = []);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user