1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 22:26:46 +02:00

refactor(json): update code according to coding doctrine coding standard

This commit is contained in:
Awilum
2020-09-08 21:07:00 +03:00
parent b4bd0cf804
commit ab0b831b5d

View File

@@ -9,6 +9,7 @@ declare(strict_types=1);
namespace Flextype\Support\Serializers;
use Flextype\Component\Strings\Strings;
use RuntimeException;
use function defined;
use function json_decode;
@@ -107,6 +108,6 @@ class Json
protected function getCacheID($input)
{
return md5('json' . $input);
Strings::hash('json' . $input);
}
}