Skip to content

Commit 89ea566

Browse files
author
B24io
committed
issue#6 fix php 7.4 compatible errors
1 parent a1c0f34 commit 89ea566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Users/DTO/Email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ final class Email
2727
public function __construct(string $email)
2828
{
2929
$email = strtolower($email);
30-
$this->username = implode(explode('@', $email, -1), '@');
30+
$this->username = implode('@', explode('@', $email, -1));
3131
$this->domain = str_replace($this->username . '@', '', $email);
3232
}
3333

0 commit comments

Comments
 (0)