mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Fixed some deprecation messages
This commit is contained in:
parent
b3ecee749e
commit
5f29ee9052
8 changed files with 14 additions and 8 deletions
|
@ -51,7 +51,7 @@ class StructuralElementDenormalizer implements ContextAwareDenormalizerInterface
|
|||
&& in_array('import', $context['groups'] ?? []);
|
||||
}
|
||||
|
||||
public function denormalize($data, string $type, string $format = null, array $context = [])
|
||||
public function denormalize($data, string $type, string $format = null, array $context = []): ?AbstractStructuralDBElement
|
||||
{
|
||||
/** @var AbstractStructuralDBElement $deserialized_entity */
|
||||
$deserialized_entity = $this->normalizer->denormalize($data, $type, $format, $context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue