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