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

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

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

View File

@@ -10,6 +10,7 @@ declare(strict_types=1);
namespace Flextype\Support\Parsers;
use function md5;
use Flextype\Component\Strings\Strings;
class Markdown
{
@@ -74,6 +75,6 @@ class Markdown
public function getCacheID($input)
{
return md5('markdown' . $input);
Strings::hash('markdown' . $input);
}
}