File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ class Signature
1818 *
1919 * @var string
2020 */
21- protected $ secureCode ;
21+ protected $ securityCode ;
2222
2323 /**
2424 * Khởi tạo đối tượng Signature.
2525 *
26- * @param string $secureCode
26+ * @param string $securityCode
2727 */
28- public function __construct (string $ secureCode )
28+ public function __construct (string $ securityCode )
2929 {
30- $ this ->secureCode = $ secureCode ;
30+ $ this ->securityCode = $ securityCode ;
3131 }
3232
3333 /**
@@ -39,7 +39,7 @@ public function __construct(string $secureCode)
3939 public function generate (array $ data ): string
4040 {
4141 ksort ($ data );
42- $ data [] = $ this ->secureCode ;
42+ $ data [] = $ this ->securityCode ;
4343 $ dataSign = implode ('| ' , $ data );
4444
4545 return strtoupper (hash ('sha256 ' , $ dataSign ));
You can’t perform that action at this time.
0 commit comments