mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix non-static method error in PHP 8.0
This commit is contained in:
parent
7c3057946b
commit
395112ad0d
1 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ class XmlGenerater
|
|||
* @param array $params The data
|
||||
* @return string Returns xml string
|
||||
*/
|
||||
function generate(&$params)
|
||||
public static function generate(&$params)
|
||||
{
|
||||
$xmlDoc = '<?xml version="1.0" encoding="utf-8" ?><methodCall><params>';
|
||||
if(!is_array($params))
|
||||
|
|
@ -37,9 +37,9 @@ class XmlGenerater
|
|||
* @param array $params Request data
|
||||
* @return object
|
||||
*/
|
||||
function getXmlDoc(&$params)
|
||||
public static function getXmlDoc(&$params)
|
||||
{
|
||||
$body = XmlGenerater::generate($params);
|
||||
$body = self::generate($params);
|
||||
$request_config = array(
|
||||
'ssl_verify_peer' => FALSE,
|
||||
'ssl_verify_host' => FALSE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue