Complex expressions

Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.

Literal arrays are omitted.

File Count Expression
/src/Storage.php:471json_decode((string) $this->app->http->post('https://developer.toutiao.com/api/apps/remove_user_storage', ['access_token' => $this->app->access_token->getToken( ), 'openid' => $openid'signature' => $signature'sig_method' => $sigMethod'key' => $key,  ])->getBody( ), true)
/src/Auth.php:331json_decode((string) $this->app->http->get('https://developer.toutiao.com/api/apps/jscode2session', ['appid' => $this->app->getAppId( ), 'secret' => $this->app->getAppSecret( ), $type => $code,  ])->getBody( ), true)
/src/Storage.php:281json_decode((string) $this->app->http->post('https://developer.toutiao.com/api/apps/set_user_storage', ['access_token' => $this->app->access_token->getToken( ), 'openid' => $openid'signature' => $signature'sig_method' => $sigMethod'kv_list' => $list,  ])->getBody( ), true)
/src/AccessToken.php:221json_decode((string) $this->app->http->get('https://developer.toutiao.com/api/apps/token', ['appid' => $this->app->getAppId( ), 'secret' => $this->app->getAppSecret( ), 'grant_type' => 'client_credential',  ])->getBody( ), true)
/src/TempMsg.php:291json_decode((string) $this->app->http->json('https://developer.toutiao.com/api/apps/game/template/send', ['access_token' => $this->app->access_token->getToken( ), 'touser' => $to'template_id' => $tempId'page' => $page'form_id' => $formId'data' => $data,  ])->getBody( ), true)
/src/ContentSecurity.php:371json_decode((string) $this->app->http->request('POST''https://developer.toutiao.com/api/v2/tags/text/antidirt', [RequestOptions::HEADERS => ['X-Token' => $this->app->access_token->getToken( ),  ], RequestOptions::JSON => ['tasks' => array_map(function ($content) { /**/ } , $contents)]])->getBody( ), true)
/src/ContentSecurity.php:551json_decode((string) $this->app->http->request('POST''https://developer.toutiao.com/api/v2/tags/image/', [RequestOptions::HEADERS => ['X-Token' => $this->app->access_token->getToken( ),  ], RequestOptions::JSON => ['tasks' => array_map(function ($image) { /**/ } , $images), 'targets' => $targets,  ]])->getBody( ), true)
/src/Payment.php:191$data = ['app_id' => $this->app->getPaymentAppId( ), 'merchant_id' => $this->app->getPaymentMerchantId( ), 'timestamp' => $time = (string) time( ), 'sign_type' => 'MD5''out_order_no' => $outTradeNo'total_amount' => $totalAmount'product_code' => 'pay''payment_type' => 'direct''trade_type' => 'H5''version' => '2.0''currency' => 'CNY''subject' => $subject'body' => $optional['body'] ?? '''uid' => $uid'trade_time' => $time'valid_time' => $optional['valid_time'] ?? 300'notify_url' => $optional['notify_url'] ?? '''risk_info' => $optional['risk_info'] ?? json_encode(['ip' => $ip get_client_ip( )]), 'wx_type' => 'MWEB''wx_url' => $optional['wx_url'] ?? '''alipay_url' => $optional['alipay_url'] ?? '',  ]