1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-09 06:36:52 +02:00

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

This commit is contained in:
Awilum
2020-09-08 21:08:52 +03:00
parent f10a04b4ab
commit cf0fd81c19

View File

@@ -10,6 +10,7 @@ declare(strict_types=1);
namespace Flextype\Support\Parsers;
use function md5;
use Flextype\Component\Strings\Strings;
class Shortcode
{
@@ -113,6 +114,6 @@ class Shortcode
*/
public function getCacheID(string $input) : string
{
return md5('shortcode' . $input);
Strings::hash('shortcode' . $input);
}
}