Skip to content

Commit 31236d0

Browse files
author
m-tanabe
committed
Update to return '' when originalUsername is null
1 parent 6f19dab commit 31236d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

caliper/app/Profiles/Profiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ trait Profiles
88

99
public function getOriginalUsername(): string
1010
{
11-
return $this->originalUsername;
11+
return $this->originalUsername ?? '';
1212
}
1313
}

0 commit comments

Comments
 (0)