Skip to content

Commit 0ec0026

Browse files
committed
Set attributes to empty string
1 parent 68de3c5 commit 0ec0026

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Resources/TrackTrace.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getLinkConsumerPortalAttribute(): string
5555

5656
public function setLinkConsumerPortalAttribute(?string $value): void
5757
{
58-
$this->link_portal = $value;
58+
$this->link_portal = $value ?? '';
5959
}
6060

6161
public function getLinkTracktraceAttribute(): string
@@ -65,7 +65,7 @@ public function getLinkTracktraceAttribute(): string
6565

6666
public function setLinkTracktraceAttribute(?string $value): void
6767
{
68-
$this->link = $value;
68+
$this->link = $value ?? '';
6969
}
7070

7171
public function setHistoryAttribute(array $array = []): void

0 commit comments

Comments
 (0)