We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c3d7c1 commit 424d36bCopy full SHA for 424d36b
src/Parser.php
@@ -188,11 +188,9 @@ protected function addData($parser, $data)
188
//Having a path data entry means at least 1 callback is interested in
189
//the data. Loop through each path here and, if inside that path, add
190
//the data
191
- $keys = array_keys($this->pathData);
192
-
193
- foreach ($keys as $key) {
+ foreach ($this->pathData as $key => &$val) {
194
if (\strpos($this->currentPath, $key) !== false) {
195
- $this->pathData[$key] .= $data;
+ $val .= $data;
196
}
197
198
0 commit comments