Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BillRun
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sdoc
BillRun
Commits
6f4378b0
Commit
6f4378b0
authored
Jul 28, 2021
by
Sahar Leviad
Browse files
Options
Downloads
Patches
Plain Diff
BRCD-3136
:Changed access to protected class variable, using "get" function.
parent
5c47f8f6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
library/Billrun/Parser/Base/Binary.php
+1
-1
1 addition, 1 deletion
library/Billrun/Parser/Base/Binary.php
library/Billrun/Processor/Nsn.php
+1
-2
1 addition, 2 deletions
library/Billrun/Processor/Nsn.php
with
2 additions
and
3 deletions
library/Billrun/Parser/Base/Binary.php
+
1
−
1
View file @
6f4378b0
...
...
@@ -15,7 +15,7 @@
*/
abstract
class
Billrun_Parser_Base_Binary
extends
Billrun_Parser
{
p
ublic
$parsedBytes
=
0
;
p
rotected
$parsedBytes
=
0
;
/**
* Get the amount of bytes that were parsed on the last parsing run.
...
...
This diff is collapsed.
Click to expand it.
library/Billrun/Processor/Nsn.php
+
1
−
2
View file @
6f4378b0
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment