Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/lyra-payment-form-sdk/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static function isSupportedLanguage($lang)
* @param int $timestamp
* @return string the generated trans_id
*/
public function generateTransId($timestamp = null)
public static function generateTransId($timestamp = null)
{
if (! $timestamp) {
$timestamp = time();
Expand All @@ -107,7 +107,7 @@ public function generateTransId($timestamp = null)
* @param boolean $hashed set to false to get the unhashed signature
* @return string
*/
public function sign($parameters, $key, $algo = 'ALGO_SHA256', $hashed = true)
public static function sign($parameters, $key, $algo = 'ALGO_SHA256', $hashed = true)
{
ksort($parameters);

Expand Down Expand Up @@ -157,7 +157,7 @@ public static function uncharm($potentially_quoted_data)
return $sane;
}

public function fn_echo($param)
public static function fn_echo($param)
{
echo $param;
}
Expand Down