original_string: private function getConfigFileContent(string $configPath) : array
      {
          // if empty just skip it
          if (!filesize($configPath)) {
              return [];
          }
  
          // read the file handler
          $config = file_get_contents($configPath);
  
          // check for linebreaks
          if (strpos($config, "\n") === false) {
              $config = [
                  $config
              ];
          } else {
              $config = (array) explode("\n", $config);
          }
  
          return $config;
      }
code: private function getConfigFileContent(string $configPath) : array
      {
          // if empty just skip it
          if (!filesize($configPath)) {
              return [];
          }
  
          // read the file handler
          $config = file_get_contents($configPath);
  
          // check for linebreaks
          if (strpos($config, "\n") === false) {
              $config = [
                  $config
              ];
          } else {
              $config = (array) explode("\n", $config);
          }
  
          return $config;
      }
code_tokens: private function getConfigFileContent ( string $ configPath ) : array { // if empty just skip it if ( ! filesize ( $ configPath ) ) { return [ ] ; } // read the file handler $ config = file_get_contents ( $ configPath ) ; // check for linebreaks if ( strpos ( $ config , "\n" ) === false ) { $ config = [ $ config ] ; } else { $ config = ( array ) explode ( "\n" , $ config ) ; } return $ config ; }
docstring: reads the specific config file
  
  @param string $configPath
  
  @return array
docstring_tokens: reads the specific config file