We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f32dc6 commit a74e809Copy full SHA for a74e809
lib/MoIP.php
@@ -572,7 +572,7 @@ public function addComission($param)
572
if (!isset($param['login_moip']))
573
throw new InvalidArgumentException('Você deve especificar um usuário para comissionar.');
574
575
- if (!isset($param['valor_fixo']) or !isset($param['valor_percentual']))
+ if (!isset($param['valor_fixo']) and !isset($param['valor_percentual']))
576
throw new InvalidArgumentException('Você deve especificar um tipo de valor para comissionar.');
577
578
if (isset($param['valor_fixo']) and isset($param['valor_percentual']))
0 commit comments