1
0
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:
Awilum
2020-09-08 21:25:55 +03:00
parent 3da9dbdd54
commit 2d33999fdd

View File

@@ -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);
}
}