summaryrefslogtreecommitdiff
path: root/app/GedcomTag.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-10-08 10:25:48 +0100
committerGreg Roach <fisharebest@webtrees.net>2018-10-08 10:25:48 +0100
commit2e30b07e2d6dd062f4b91091a62f92af63b33144 (patch)
tree942969c2693cf59a36bcb829c5fa0eb6aff55008 /app/GedcomTag.php
parenta084833fdbf1971b22049b970c46a47ed06bcef4 (diff)
downloadwebtrees-2e30b07e2d6dd062f4b91091a62f92af63b33144.tar.gz
webtrees-2e30b07e2d6dd062f4b91091a62f92af63b33144.tar.bz2
webtrees-2e30b07e2d6dd062f4b91091a62f92af63b33144.zip
Strict-types
Diffstat (limited to 'app/GedcomTag.php')
-rw-r--r--app/GedcomTag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/GedcomTag.php b/app/GedcomTag.php
index 1fe0cf216d..41af91f9a7 100644
--- a/app/GedcomTag.php
+++ b/app/GedcomTag.php
@@ -2439,7 +2439,7 @@ class GedcomTag
*/
public static function createUid(): string
{
- $uid = str_replace('-', '', Uuid::uuid4());
+ $uid = str_replace('-', '', Uuid::uuid4()->toString());
$checksum_a = 0; // a sum of the bytes
$checksum_b = 0; // a sum of the incremental values of $checksum_a