mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 11:25:52 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
16 lines
294 B
PHP
16 lines
294 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Users;
|
|
|
|
use Pterodactyl\Models\User;
|
|
|
|
interface UpdatesUserEmails
|
|
{
|
|
/**
|
|
* @return array{user: User, original: string, email: string, changed: bool}
|
|
*/
|
|
public function update(User $user, string $email): array;
|
|
}
|