We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1201493 commit bcfa4a6Copy full SHA for bcfa4a6
app/Models/Legacy/Project.php
@@ -99,7 +99,7 @@ class Project extends Model
99
protected function responsible(): Attribute
100
{
101
return Attribute::make(
102
- get: fn (string $value) => empty($value) || str_contains($value, '@') ? $value : $value.'@'.config('stufis.mail_domain'),
+ get: fn (?string $value) => empty($value) || str_contains($value, '@') ? $value : $value.'@'.config('stufis.mail_domain'),
103
set: fn (string $value) => empty($value) || str_contains($value, '@') ? $value : $value.'@'.config('stufis.mail_domain'),
104
);
105
}
0 commit comments