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 f44f2b9 commit 9c3d7c1Copy full SHA for 9c3d7c1
src/Parser.php
@@ -188,7 +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
- foreach ($this->pathData as $key => $val) {
+ $keys = array_keys($this->pathData);
192
+
193
+ foreach ($keys as $key) {
194
if (\strpos($this->currentPath, $key) !== false) {
195
$this->pathData[$key] .= $data;
196
}
0 commit comments