Skip to content

Commit bb8505b

Browse files
minor symfony#60671 [JsonPath] Fix typo in comment in JsonCrawler (mttsch)
This PR was merged into the 7.3 branch. Discussion ---------- [JsonPath] Fix typo in comment in JsonCrawler | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the latest branch. - For new features, provide some code snippets to help understand usage. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 3e4098b [JsonPath] Fix typo in comment in JsonCrawler
2 parents 9ec87bf + 3e4098b commit bb8505b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/JsonPath/JsonCrawler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private function evaluateBracket(string $expr, mixed $value): array
222222
throw new JsonCrawlerException($expr, 'Invalid filter expression');
223223
}
224224

225-
// remove outrer filter parentheses
225+
// remove outer filter parentheses
226226
$innerExpr = substr(substr($filterExpr, 1), 0, -1);
227227

228228
return $this->evaluateFilter($innerExpr, $value);

0 commit comments

Comments
 (0)