Skip to content
Snippets Groups Projects
Commit 6f4378b0 authored by Sahar Leviad's avatar Sahar Leviad
Browse files

BRCD-3136:Changed access to protected class variable, using "get" function.

parent 5c47f8f6
Branches
Tags
No related merge requests found
......@@ -15,7 +15,7 @@
*/
abstract class Billrun_Parser_Base_Binary extends Billrun_Parser {
public $parsedBytes = 0;
protected $parsedBytes = 0;
/**
* Get the amount of bytes that were parsed on the last parsing run.
......
......@@ -110,8 +110,7 @@ class Billrun_Processor_Nsn extends Billrun_Processor_Base_Binary {
$this->addDataRow($row);
}
$bytes = substr($bytes, $this->parser->getLastParseLength());
$parsed = $this->parser->parsedBytes;
Billrun_Factory::log()->log("Last parsed bytes length: " . $this->parser->parsedBytes, Zend_log::DEBUG);
Billrun_Factory::log()->log("Last parsed bytes length: " . $this->parser->getLastParseLength(), Zend_log::DEBUG);
} while (isset($bytes[$this->trailerLength + 1]));
} else {
$msg = "Got NSN block with unsupported version : {$header['format_version']} , block header data : " . print_r($header, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment