Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ interface AppUserIdentifierNormalizerInterface extends DenormalizerInterface
* @psalm-suppress InvalidReturnType
* @psalm-suppress InvalidReturnStatement
*/
public function denormalize($data, $type, $format = null, array $context = []);
public function denormalize($data, string $type, string $format = null, array $context = []);

/**
* {@inheritdoc}
*/
public function supportsDenormalization($data, $type, $format = null);
public function supportsDenormalization($data, string $type, string $format = null);
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct(Security $security)
/**
* {@inheritdoc}
*/
public function denormalize($data, $type, $format = null, array $context = []): string
public function denormalize($data, $type, string $format = null, array $context = []): string
{
$user = $this->security->getUser();

Expand All @@ -35,7 +35,7 @@ public function denormalize($data, $type, $format = null, array $context = []):
/**
* {@inheritdoc}
*/
public function supportsDenormalization($data, $type, $format = null)
public function supportsDenormalization($data, $type, string $format = null)
{
return 'me' === $data;
}
Expand Down
3 changes: 3 additions & 0 deletions symfony.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"aeon-php/calendar": {
"version": "0.16.1"
},
"amphp/amp": {
"version": "v2.1.1"
},
Expand Down