mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Образован хелпер Error, в который вынесены все коды ошибок.
Подкорректирован errorDict на фронте
This commit is contained in:
		@@ -22,11 +22,11 @@ class ConfirmNewEmailForm extends KeyConfirmationForm {
 | 
			
		||||
    /**
 | 
			
		||||
     * @return Account
 | 
			
		||||
     */
 | 
			
		||||
    public function getAccount() {
 | 
			
		||||
    public function getAccount() : Account {
 | 
			
		||||
        return $this->account;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function changeEmail() {
 | 
			
		||||
    public function changeEmail() : bool {
 | 
			
		||||
        if (!$this->validate()) {
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user