diff --git a/webapp/src/Entity/ExternalSourceWarning.php b/webapp/src/Entity/ExternalSourceWarning.php index 54453767839..b223b6277be 100644 --- a/webapp/src/Entity/ExternalSourceWarning.php +++ b/webapp/src/Entity/ExternalSourceWarning.php @@ -170,7 +170,7 @@ public function fillhash(): void $this->setHash(static::calculateHash($this->getType(), $this->getEntityType(), $this->getEntityId())); } - public static function calculateHash(string $type, string $entityType, string $enttiyId): string + public static function calculateHash(string $type, string $entityType, ?string $enttiyId): string { return "$entityType-$enttiyId-$type"; }