original_string: public function getAddressType(AddressInterface $address)
      {
          $result = null;
          if ($this->range->contains($address)) {
              foreach ($this->exceptions as $exception) {
                  $result = $exception->getAddressType($address);
                  if ($result !== null) {
                      break;
                  }
              }
              if ($result === null) {
                  $result = $this->type;
              }
          }
  
          return $result;
      }
code: public function getAddressType(AddressInterface $address)
      {
          $result = null;
          if ($this->range->contains($address)) {
              foreach ($this->exceptions as $exception) {
                  $result = $exception->getAddressType($address);
                  if ($result !== null) {
                      break;
                  }
              }
              if ($result === null) {
                  $result = $this->type;
              }
          }
  
          return $result;
      }
code_tokens: public function getAddressType ( AddressInterface $ address ) { $ result = null ; if ( $ this -> range -> contains ( $ address ) ) { foreach ( $ this -> exceptions as $ exception ) { $ result = $ exception -> getAddressType ( $ address ) ; if ( $ result !== null ) { break ; } } if ( $ result === null ) { $ result = $ this -> type ; } } return $ result ; }
docstring: Get the assigned type for a specific address.
  
  @param \IPLib\Address\AddressInterface $address
  
  @return int|null return NULL of the address is outside this address; a \IPLib\Range\Type::T_ constant otherwise
docstring_tokens: Get the assigned type for a specific address .