pos/is4c-nf/plugins/Paycards/lib/TermStateNotifier.php
Method draw
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function draw()
{
if ($this->conf->get('PaycardsCashierFacing') == '1') {
return '';
}
Avoid too many return
statements within this method. Open
Open
return $ret.'DC';
Avoid too many return
statements within this method. Open
Open
return $ret.'CC';
Avoid too many return
statements within this method. Open
Open
return $ret.'EF';
Avoid too many return
statements within this method. Open
Open
return '';
Avoid too many return
statements within this method. Open
Open
return $ret.'Cash<br />Back</div>';
Avoid too many return
statements within this method. Open
Open
return $ret.'Card<br />Type</div>';
Avoid too many return
statements within this method. Open
Open
return $ret.'EC';