private function invalidCodeReturnData($errors = null)
    {
        $this->_authCount = $this->_twoStepAuth->authCount += 1;
        $this->_twoStepAuth->save();

        $returnData = [
            'message'           => trans('laravel2step::laravel-verification.titleFailed'),
            'authCount'         => $this->_authCount,
            'remainingAttempts' => $this->_remainingAttempts,
        ];

        if ($errors) {
            $returnData['errors'] = $errors;
        }

        return $returnData;
    }
private function invalidCodeReturnData($errors = null)
    {
        $this->_authCount = $this->_twoStepAuth->authCount += 1;
        $this->_twoStepAuth->save();

        $returnData = [
            'message'           => trans('laravel2step::laravel-verification.titleFailed'),
            'authCount'         => $this->_authCount,
            'remainingAttempts' => $this->_remainingAttempts,
        ];

        if ($errors) {
            $returnData['errors'] = $errors;
        }

        return $returnData;
    }
private function invalidCodeReturnData ( $ errors = null ) { $ this -> _authCount = $ this -> _twoStepAuth -> authCount += 1 ; $ this -> _twoStepAuth -> save ( ) ; $ returnData = [ 'message' => trans ( 'laravel2step::laravel-verification.titleFailed' ) , 'authCount' => $ this -> _authCount , 'remainingAttempts' => $ this -> _remainingAttempts , ] ; if ( $ errors ) { $ returnData [ 'errors' ] = $ errors ; } return $ returnData ; }
Validation and Invalid code failed actions and return message.

@param array $errors (optional)

@return array
Validation and Invalid code failed actions and return message .