diff --git a/src/core/etl/src/Flow/ETL/Row/Factory/NativeEntryFactory.php b/src/core/etl/src/Flow/ETL/Row/Factory/NativeEntryFactory.php index 545447259..b797ac907 100644 --- a/src/core/etl/src/Flow/ETL/Row/Factory/NativeEntryFactory.php +++ b/src/core/etl/src/Flow/ETL/Row/Factory/NativeEntryFactory.php @@ -17,8 +17,6 @@ */ final class NativeEntryFactory implements EntryFactory { - private const JSON_DEPTH = 512; - public function __construct(private readonly ?Schema $schema = null) { } @@ -303,7 +301,7 @@ private function isJson(string $string) : bool } try { - return \is_array(\json_decode($string, true, self::JSON_DEPTH, JSON_THROW_ON_ERROR)); + return \is_array(\json_decode($string, true, flags: \JSON_THROW_ON_ERROR)); } catch (\Exception) { return false; }