code: public function removeAddress($address)
      {
          $key = array_search($address, $this->data->addresses, true);
          if ($key !== false) {
              array_splice($this->data->addresses, $key, 1);
          }
  
          return $this;
      }
docs: @param string $address
  
  @return $this