original_string: private function getTrackerExcludedIps($website)
      {
          $excludedIps = $website['excluded_ips'];
          $globalExcludedIps = API::getInstance()->getExcludedIpsGlobal();
  
          $excludedIps .= ',' . $globalExcludedIps;
  
          $ipRanges = array();
          foreach (explode(',', $excludedIps) as $ip) {
              $ipRange = API::getInstance()->getIpsForRange($ip);
              if ($ipRange !== false) {
                  $ipRanges[] = $ipRange;
              }
          }
          return $ipRanges;
      }
code: private function getTrackerExcludedIps($website)
      {
          $excludedIps = $website['excluded_ips'];
          $globalExcludedIps = API::getInstance()->getExcludedIpsGlobal();
  
          $excludedIps .= ',' . $globalExcludedIps;
  
          $ipRanges = array();
          foreach (explode(',', $excludedIps) as $ip) {
              $ipRange = API::getInstance()->getIpsForRange($ip);
              if ($ipRange !== false) {
                  $ipRanges[] = $ipRange;
              }
          }
          return $ipRanges;
      }
code_tokens: private function getTrackerExcludedIps ( $ website ) { $ excludedIps = $ website [ 'excluded_ips' ] ; $ globalExcludedIps = API :: getInstance ( ) -> getExcludedIpsGlobal ( ) ; $ excludedIps .= ',' . $ globalExcludedIps ; $ ipRanges = array ( ) ; foreach ( explode ( ',' , $ excludedIps ) as $ ip ) { $ ipRange = API :: getInstance ( ) -> getIpsForRange ( $ ip ) ; if ( $ ipRange !== false ) { $ ipRanges [ ] = $ ipRange ; } } return $ ipRanges ; }
docstring: Returns the array of excluded IPs to save in the config file
  
  @param array $website
  @return array
docstring_tokens: Returns the array of excluded IPs to save in the config file