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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user