10000 [JsonPath] Fix error message when evaluating a resource · symfony/symfony@e5cc3d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit e5cc3d4

Browse files
[JsonPath] Fix error message when evaluating a resource
1 parent b37086d commit e5cc3d4

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
@@ -62,7 +62,7 @@ private function evaluate(JsonPath $query): array
6262

6363
if (\is_resource($this->raw)) {
6464
if (!class_exists(Splitter::class)) {
65-
throw new \LogicException('The JsonEncoder package is required to evaluate a path against a resource. Try running "composer require symfony/json-streamer".');
65+
throw new \LogicException('The JsonStreamer package is required to evaluate a path against a resource. Try running "composer require symfony/json-streamer".');
6666
}
6767

6868
$simplified = JsonPathUtils::findSmallestDeserializableStringAndPath(

0 commit comments

Comments
 (0)
0