Update app/Models/TeamInvitation.php

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Andras Bacsai
2025-09-25 11:33:32 +02:00
committed by GitHub
parent 9768deccd5
commit 2b402c9ce9

View File

@@ -18,7 +18,7 @@ class TeamInvitation extends Model
/** /**
* Set the email attribute to lowercase. * Set the email attribute to lowercase.
*/ */
public function setEmailAttribute($value) public function setEmailAttribute(string $value): void
{ {
$this->attributes['email'] = strtolower($value); $this->attributes['email'] = strtolower($value);
} }