Simplify property name

Ref: #14
This commit is contained in:
Pig Fang 2019-03-30 13:08:13 +08:00
parent cb72ca5571
commit e2b4153dab

View File

@ -8,18 +8,18 @@ class EncryptUserPassword extends Event
{
public $user;
public $rawPasswd;
public $raw;
/**
* Create a new event instance.
*
* @param string $rawPasswd
* @param string $raw The raw password before encrypted.
* @param User $user
* @return void
*/
public function __construct($rawPasswd, User $user)
public function __construct($raw, User $user)
{
$this->rawPasswd = $rawPasswd;
$this->raw = $raw;
$this->user = $user;
}
}