mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 22:26:46 +02:00
refactor(shortcode): update code according to coding doctrine coding standard
This commit is contained in:
@@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Flextype\Support\Parsers;
|
||||
|
||||
use function md5;
|
||||
use Flextype\Component\Strings\Strings;
|
||||
|
||||
class Shortcode
|
||||
@@ -112,8 +111,8 @@ class Shortcode
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
public function getCacheID(string $input) : string
|
||||
public function getCacheID(string $input): string
|
||||
{
|
||||
Strings::hash('shortcode' . $input);
|
||||
return Strings::hash('shortcode' . $input);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user