original_string: public function getSection($section, $default = -1)
      {
          // Return if section is defined.
          if (isset($this->config[$section])) {
              return $this->config[$section];
          }
          if ($default !== -1) {
              return $default;
          }
  
          // Find the default value (in default configuration definitions).
          $defaultClass = new \ReflectionClass(DefaultConfiguration::class);
          return $defaultClass->getStaticPropertyValue($section, null);
  
      }
code: public function getSection($section, $default = -1)
      {
          // Return if section is defined.
          if (isset($this->config[$section])) {
              return $this->config[$section];
          }
          if ($default !== -1) {
              return $default;
          }
  
          // Find the default value (in default configuration definitions).
          $defaultClass = new \ReflectionClass(DefaultConfiguration::class);
          return $defaultClass->getStaticPropertyValue($section, null);
  
      }
code_tokens: public function getSection ( $ section , $ default = - 1 ) { // Return if section is defined. if ( isset ( $ this -> config [ $ section ] ) ) { return $ this -> config [ $ section ] ; } if ( $ default !== - 1 ) { return $ default ; } // Find the default value (in default configuration definitions). $ defaultClass = new \ ReflectionClass ( DefaultConfiguration :: class ) ; return $ defaultClass -> getStaticPropertyValue ( $ section , null ) ; }
docstring: Get the whole set of the configuration section.
  
  @param string $section section name.
  @param mixed $default default value when undefined. Leave undefined to use the build-in defined defaults for the
  section.
  
  @return mixed
  
  @codeCoverageIgnore ignore due to a coverage bug.
docstring_tokens: Get the whole set of the configuration section .