original_string: public function parseAuthorizedIps($ips)
      {
          $ips = trim($ips);
  
          if (is_string($ips) && !empty($ips))
          {
              $ips = explode(PHP_EOL, $ips);
          }
  
          return $this->filterOutArrayValues(
              $ips, function($val) {
              return preg_match('/^[0-9\.\*]{5,15}$/i', $val);
          }
          );
      }
code: public function parseAuthorizedIps($ips)
      {
          $ips = trim($ips);
  
          if (is_string($ips) && !empty($ips))
          {
              $ips = explode(PHP_EOL, $ips);
          }
  
          return $this->filterOutArrayValues(
              $ips, function($val) {
              return preg_match('/^[0-9\.\*]{5,15}$/i', $val);
          }
          );
      }
code_tokens: public function parseAuthorizedIps ( $ ips ) { $ ips = trim ( $ ips ) ; if ( is_string ( $ ips ) && ! empty ( $ ips ) ) { $ ips = explode ( PHP_EOL , $ ips ) ; } return $ this -> filterOutArrayValues ( $ ips , function ( $ val ) { return preg_match ( '/^[0-9\.\*]{5,15}$/i' , $ val ) ; } ) ; }
docstring: Parses authorizedIps to ensure they are valid even when created from a string
  
  @param array|string $ips
  
  @return array
docstring_tokens: Parses authorizedIps to ensure they are valid even when created from a string