Skip to content

Commit 9c3d7c1

Browse files
Add big Data
1 parent f44f2b9 commit 9c3d7c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Parser.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ protected function addData($parser, $data)
188188
//Having a path data entry means at least 1 callback is interested in
189189
//the data. Loop through each path here and, if inside that path, add
190190
//the data
191-
foreach ($this->pathData as $key => $val) {
191+
$keys = array_keys($this->pathData);
192+
193+
foreach ($keys as $key) {
192194
if (\strpos($this->currentPath, $key) !== false) {
193195
$this->pathData[$key] .= $data;
194196
}

0 commit comments

Comments
 (0)