| Total Complexity | 8 |
| Total Lines | 84 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class ChangePassword |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $password1 = ''; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $password2 = ''; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $currentPassword = ''; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | protected $changeHmac = ''; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getPassword1() |
||
| 41 | { |
||
| 42 | return $this->password1; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param string $password1 |
||
| 47 | */ |
||
| 48 | public function setPassword1(string $password1) |
||
| 49 | { |
||
| 50 | $this->password1 = $password1; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getPassword2() |
||
| 57 | { |
||
| 58 | return $this->password2; |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param string $password2 |
||
| 63 | */ |
||
| 64 | public function setPassword2(string $password2) |
||
| 65 | { |
||
| 66 | $this->password2 = $password2; |
||
| 67 | } |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @return string |
||
| 71 | */ |
||
| 72 | public function getCurrentPassword() |
||
| 75 | } |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @param string $currentPassword |
||
| 79 | */ |
||
| 80 | public function setCurrentPassword(string $currentPassword) |
||
| 81 | { |
||
| 82 | $this->currentPassword = $currentPassword; |
||
| 83 | } |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @return string |
||
| 87 | */ |
||
| 88 | public function getChangeHmac(): string |
||
| 91 | } |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @param string $changeHmac |
||
| 95 | */ |
||
| 96 | public function setChangeHmac(string $changeHmac) |
||
| 99 | } |
||
| 100 | } |
||
| 101 |