original_string: protected function create($actionName, $actionInfo, $temporary = true, $expireSeconds = null)
      {
          $expireSeconds !== null || $expireSeconds = 7 * self::DAY;
  
          $params = [
              'action_name' => $actionName,
              'action_info' => ['scene' => $actionInfo],
          ];
  
          if ($temporary) {
              $params['expire_seconds'] = min($expireSeconds, 30 * self::DAY);
          }
  
          return $this->json(self::API_CREATE, $params);
      }
code: protected function create($actionName, $actionInfo, $temporary = true, $expireSeconds = null)
      {
          $expireSeconds !== null || $expireSeconds = 7 * self::DAY;
  
          $params = [
              'action_name' => $actionName,
              'action_info' => ['scene' => $actionInfo],
          ];
  
          if ($temporary) {
              $params['expire_seconds'] = min($expireSeconds, 30 * self::DAY);
          }
  
          return $this->json(self::API_CREATE, $params);
      }
code_tokens: protected function create ( $ actionName , $ actionInfo , $ temporary = true , $ expireSeconds = null ) { $ expireSeconds !== null || $ expireSeconds = 7 * self :: DAY ; $ params = [ 'action_name' => $ actionName , 'action_info' => [ 'scene' => $ actionInfo ] , ] ; if ( $ temporary ) { $ params [ 'expire_seconds' ] = min ( $ expireSeconds , 30 * self :: DAY ) ; } return $ this -> json ( self :: API_CREATE , $ params ) ; }
docstring: Create a QRCode.
  
  @param string $actionName
  @param array $actionInfo
  @param bool $temporary
  @param int $expireSeconds
  @return array
  @throws \yii\httpclient\Exception
docstring_tokens: Create a QRCode .