Feature/get current credit limit

format the query

$sql = 'SELECT count(id) as commentposted, SUM(credit) as credit FROM credits_earned
           WHERE borrower_id = :borrowerId
                 AND loan_id = :loanId
                 AND credit_type = :creditType';