original_string: private function addSearchdSection(ArrayNodeDefinition $node)
      {
          $node
              ->children()
                  ->arrayNode('searchd')
                  ->addDefaultsIfNotSet()
                      ->children()
                          ->scalarNode('host')->defaultValue('localhost')->end()
                          ->scalarNode('port')->defaultValue('9312')->end()
                          ->scalarNode('socket')->defaultNull()->end()
                      ->end()
                  ->end()
              ->end();
      }
code: private function addSearchdSection(ArrayNodeDefinition $node)
      {
          $node
              ->children()
                  ->arrayNode('searchd')
                  ->addDefaultsIfNotSet()
                      ->children()
                          ->scalarNode('host')->defaultValue('localhost')->end()
                          ->scalarNode('port')->defaultValue('9312')->end()
                          ->scalarNode('socket')->defaultNull()->end()
                      ->end()
                  ->end()
              ->end();
      }
code_tokens: private function addSearchdSection ( ArrayNodeDefinition $ node ) { $ node -> children ( ) -> arrayNode ( 'searchd' ) -> addDefaultsIfNotSet ( ) -> children ( ) -> scalarNode ( 'host' ) -> defaultValue ( 'localhost' ) -> end ( ) -> scalarNode ( 'port' ) -> defaultValue ( '9312' ) -> end ( ) -> scalarNode ( 'socket' ) -> defaultNull ( ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) ; }
docstring: Set search daemon parameters
  
  @param ArrayNodeDefinition $node
docstring_tokens: Set search daemon parameters