From 1f291bd671ae951ccb4939e40fdf9c2e96618963 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Tue, 2 Jun 2020 18:23:36 +0800 Subject: [PATCH] apply php-cs-fixer --- app/Services/Cipher/BaseCipher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Cipher/BaseCipher.php b/app/Services/Cipher/BaseCipher.php index 7c227709..5be28a86 100644 --- a/app/Services/Cipher/BaseCipher.php +++ b/app/Services/Cipher/BaseCipher.php @@ -10,7 +10,7 @@ abstract class BaseCipher * @param string $value * @param string $salt */ - public abstract function hash($value, $salt = ''); + abstract public function hash($value, $salt = ''); /** * Verify that the given hash matches the given password. @@ -19,7 +19,7 @@ abstract class BaseCipher * @param string $hash * @param string $salt */ - public function verify($password, $hash, $salt = '') + public function verify($password, $hash, $salt = '') { return hash_equals($hash, $this->hash($password, $salt)); }