Skip to content

是不支持php 8.0吗? #14

Description

@freehzw

php 8下,报错,

  Required parameter $method follows optional parameter $gzip

  at D:\phpstudy_pro\WWW\dcat-admin.local\vendor\getuilaboratory\getui-pushapi-php-client-v2\utils\GTHttpManager.php:82
     78▕         $result = GTHttpManager::exeBySetTimes(GTConfig::getHttpTryCount(), $curl);
     79▕         return $result;
     80▕     }
     81▕
  ➜  82▕     public static function httpRequest($url, $params,$headers, $gzip = false, $method)
     83▕     {
     84▕         $data = json_encode($params);
     85▕         $result = null;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions