diff --git a/src/Decoders/ConfigurableDecoder.php b/src/Decoders/CustomDecoder.php similarity index 96% rename from src/Decoders/ConfigurableDecoder.php rename to src/Decoders/CustomDecoder.php index e9a099b..c7a181f 100644 --- a/src/Decoders/ConfigurableDecoder.php +++ b/src/Decoders/CustomDecoder.php @@ -8,7 +8,7 @@ use Cerbero\JsonParser\Config; * The configurable decoder. * */ -class ConfigurableDecoder +class CustomDecoder { /** * Instantiate the class. diff --git a/src/Parser.php b/src/Parser.php index db450a0..ac60843 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -2,7 +2,7 @@ namespace Cerbero\JsonParser; -use Cerbero\JsonParser\Decoders\ConfigurableDecoder; +use Cerbero\JsonParser\Decoders\CustomDecoder; use Cerbero\JsonParser\Sources\Source; use IteratorAggregate; use Traversable; @@ -23,9 +23,9 @@ class Parser implements IteratorAggregate /** * The decoder handling potential errors. * - * @var ConfigurableDecoder + * @var CustomDecoder */ - protected ConfigurableDecoder $decoder; + protected CustomDecoder $decoder; /** * Instantiate the class. @@ -36,7 +36,7 @@ class Parser implements IteratorAggregate public function __construct(protected Lexer $lexer, protected Config $config) { $this->state = new State(); - $this->decoder = new ConfigurableDecoder($config); + $this->decoder = new CustomDecoder($config); } /**