original_string: public function setWhiteList($clientId, array $addresses)
  	{
  		$params = array(
  			'for_client_id' => $clientId,
  			'whitelist'     => json_encode($addresses),
  		);
  
  		// If empty, features are set for the owner client.
  		if (!$params['for_client_id']) {
  			unset($params['for_client_id']);
  		}
  
  		return $this->post('clients/set_whitelist', $params);
  	}
code: public function setWhiteList($clientId, array $addresses)
  	{
  		$params = array(
  			'for_client_id' => $clientId,
  			'whitelist'     => json_encode($addresses),
  		);
  
  		// If empty, features are set for the owner client.
  		if (!$params['for_client_id']) {
  			unset($params['for_client_id']);
  		}
  
  		return $this->post('clients/set_whitelist', $params);
  	}
code_tokens: public function setWhiteList ( $ clientId , array $ addresses ) { $ params = array ( 'for_client_id' => $ clientId , 'whitelist' => json_encode ( $ addresses ) , ) ; // If empty, features are set for the owner client. if ( ! $ params [ 'for_client_id' ] ) { unset ( $ params [ 'for_client_id' ] ) ; } return $ this -> post ( 'clients/set_whitelist' , $ params ) ; }
docstring: Change the IP whitelist for a target client, overwriting the previous whitelist.
  
  @param string $clientId  Client ID
  @param array  $addresses Array of CIDR addresses
docstring_tokens: Change the IP whitelist for a target client overwriting the previous whitelist .