mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 07:33:50 +00:00
DX: apply rector rulesets up to PHP 73
This commit is contained in:
@@ -95,7 +95,7 @@ class StoredObjectType extends AbstractType
|
||||
return null;
|
||||
}
|
||||
|
||||
return json_decode($value, true);
|
||||
return json_decode($value, true, 512, JSON_THROW_ON_ERROR);
|
||||
}
|
||||
|
||||
public function reverseTransformObject($object)
|
||||
@@ -120,7 +120,7 @@ class StoredObjectType extends AbstractType
|
||||
return null;
|
||||
}
|
||||
|
||||
return json_encode($object);
|
||||
return json_encode($object, JSON_THROW_ON_ERROR);
|
||||
}
|
||||
|
||||
public function transformObject($object = null)
|
||||
|
Reference in New Issue
Block a user