diff --git a/src/Symfony/Component/JsonPath/JsonCrawler.php b/src/Symfony/Component/JsonPath/JsonCrawler.php index 18a929571c47f..75c61e14f79d7 100644 --- a/src/Symfony/Component/JsonPath/JsonCrawler.php +++ b/src/Symfony/Component/JsonPath/JsonCrawler.php @@ -62,7 +62,7 @@ private function evaluate(JsonPath $query): array if (\is_resource($this->raw)) { if (!class_exists(Splitter::class)) { - throw new \LogicException('The JsonEncoder package is required to evaluate a path against a resource. Try running "composer require symfony/json-streamer".'); + throw new \LogicException('The JsonStreamer package is required to evaluate a path against a resource. Try running "composer require symfony/json-streamer".'); } $simplified = JsonPathUtils::findSmallestDeserializableStringAndPath(