original_string: public function setVisibility(string $poiId, int $status)
      {
          if (!in_array($status, [0, 1], true)) {
              throw new InvalidArgumentException('status should be 0 or 1.');
          }
  
          return $this->httpPostJson('wxa/setnearbypoishowstatus', [
              'poi_id' => $poiId,
              'status' => $status,
          ]);
      }
code: public function setVisibility(string $poiId, int $status)
      {
          if (!in_array($status, [0, 1], true)) {
              throw new InvalidArgumentException('status should be 0 or 1.');
          }
  
          return $this->httpPostJson('wxa/setnearbypoishowstatus', [
              'poi_id' => $poiId,
              'status' => $status,
          ]);
      }
code_tokens: public function setVisibility ( string $ poiId , int $ status ) { if ( ! in_array ( $ status , [ 0 , 1 ] , true ) ) { throw new InvalidArgumentException ( 'status should be 0 or 1.' ) ; } return $ this -> httpPostJson ( 'wxa/setnearbypoishowstatus' , [ 'poi_id' => $ poiId , 'status' => $ status , ] ) ; }
docstring: Set nearby poi show status.
  
  @param string $poiId
  @param int    $status
  
  @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
docstring_tokens: Set nearby poi show status .