for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SmartCNAB\Services\Remittances\Banks\Bradesco;
use SmartCNAB\Support\File\Remittance;
/**
* Class for Bradesco remittance CNAB 400 layout.
*/
class File400 extends Remittance
{
* File schema file.
*
* @var string
protected $schemaFile = '/schemas/400.json';
* Mutates a discount to date.
* @param mixed $value
* @param array $data
* @return mixed
protected function mutateDetailDiscountTo(
$value,
array $data = []
) {
return $value ?: $data['expiration'];
}
* Mutates the late interest flag based on late interest percentage.
protected function mutateDetailLateInterestFlag(
$value
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return ( ! empty($data['lateInterestPercentage'])) ? 2 : 0;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.