original_string: public function temporary($sceneValue, $expireSeconds = null)
      {
          if (is_int($sceneValue) && $sceneValue > 0) {
              $type = self::SCENE_QR_TEMPORARY;
              $sceneKey = 'scene_id';
          } else {
              $type = self::SCENE_QR_TEMPORARY_STR;
              $sceneKey = 'scene_str';
          }
          $scene = [$sceneKey => $sceneValue];
  
          return $this->create($type, $scene, true, $expireSeconds);
      }
code: public function temporary($sceneValue, $expireSeconds = null)
      {
          if (is_int($sceneValue) && $sceneValue > 0) {
              $type = self::SCENE_QR_TEMPORARY;
              $sceneKey = 'scene_id';
          } else {
              $type = self::SCENE_QR_TEMPORARY_STR;
              $sceneKey = 'scene_str';
          }
          $scene = [$sceneKey => $sceneValue];
  
          return $this->create($type, $scene, true, $expireSeconds);
      }
code_tokens: public function temporary ( $ sceneValue , $ expireSeconds = null ) { if ( is_int ( $ sceneValue ) && $ sceneValue > 0 ) { $ type = self :: SCENE_QR_TEMPORARY ; $ sceneKey = 'scene_id' ; } else { $ type = self :: SCENE_QR_TEMPORARY_STR ; $ sceneKey = 'scene_str' ; } $ scene = [ $ sceneKey => $ sceneValue ] ; return $ this -> create ( $ type , $ scene , true , $ expireSeconds ) ; }
docstring: Create temporary QR code.
  
  @param string|int $sceneValue
  @param int|null   $expireSeconds
  
  @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
docstring_tokens: Create temporary QR code .