mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-29 14:28:42 +02:00
parent
496df89e0b
commit
f9b85c3b85
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class PartNormalizer implements NormalizerInterface, DenormalizerInterface, Norm
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function supportsDenormalization($data, string $type, string $format = null, array $context = []): bool
|
public function supportsDenormalization($data, string $type, ?string $format = null, array $context = []): bool
|
||||||
{
|
{
|
||||||
//Only denormalize if we are doing a file import operation
|
//Only denormalize if we are doing a file import operation
|
||||||
if (!($context['partdb_import'] ?? false)) {
|
if (!($context['partdb_import'] ?? false)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue