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

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

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

View File

@@ -13,6 +13,7 @@ use RuntimeException;
use Symfony\Component\Yaml\Exception\DumpException as SymfonyYamlDumpException;
use Symfony\Component\Yaml\Exception\ParseException as SymfonyYamlParseException;
use Symfony\Component\Yaml\Yaml as SymfonyYaml;
use Flextype\Component\Strings\Strings;
use function error_reporting;
use function function_exists;
use function ini_get;
@@ -141,6 +142,6 @@ class Yaml
protected function getCacheID($input)
{
return md5('yaml' . $input);
Strings::hash('yaml' . $input);
}
}