iugu / iugu-php

iugu - Biblioteca para PHP
MIT License
89 stars 65 forks source link

throw new IuguRequestException #7

Closed ursoforte closed 8 years ago

ursoforte commented 9 years ago

Eu posso está enganado mas acho que o código abaixo tem um erro.

if (isset($response->errors)) throw IuguRequestException( $response->errors );

Está faltando o "new" Aqui está a linha: https://github.com/iugu/iugu-php/blob/master/lib/Iugu/Invoice.php#L26

pnegri commented 8 years ago

Corrigido. Obrigado.