original_string: public function getList()
      {
          $list = glob($this->basePath . "/*.md");
          foreach ($list as $key=>$item) {
              $item = pathinfo($item);
              $item = $item['filename'];
              $item = preg_split("/^[\d-]+/", $item, 2, PREG_SPLIT_NO_EMPTY);
              $list[$key] = ucfirst(str_replace('-',' ',$item[0]));
          }
  
          return $list;
      }
code: public function getList()
      {
          $list = glob($this->basePath . "/*.md");
          foreach ($list as $key=>$item) {
              $item = pathinfo($item);
              $item = $item['filename'];
              $item = preg_split("/^[\d-]+/", $item, 2, PREG_SPLIT_NO_EMPTY);
              $list[$key] = ucfirst(str_replace('-',' ',$item[0]));
          }
  
          return $list;
      }
code_tokens: public function getList ( ) { $ list = glob ( $ this -> basePath . "/*.md" ) ; foreach ( $ list as $ key => $ item ) { $ item = pathinfo ( $ item ) ; $ item = $ item [ 'filename' ] ; $ item = preg_split ( "/^[\d-]+/" , $ item , 2 , PREG_SPLIT_NO_EMPTY ) ; $ list [ $ key ] = ucfirst ( str_replace ( '-' , ' ' , $ item [ 0 ] ) ) ; } return $ list ; }
docstring: getList
  In the file list returned, in array values, '-' become spaces.
  
  @return array mardown file list
docstring_tokens: getList In the file list returned in array values - become spaces .