original_string: public function filesToOverwrite()
      {
          $files = new Filesystem;
          $stubs = array_map(function (SplFileInfo $file) {
              return $file->getRelativePathname();
          }, $files->allFiles("{$this->sageRoot}/resources/assets"));
          return array_intersect($stubs, $this->getFileList());
      }
code: public function filesToOverwrite()
      {
          $files = new Filesystem;
          $stubs = array_map(function (SplFileInfo $file) {
              return $file->getRelativePathname();
          }, $files->allFiles("{$this->sageRoot}/resources/assets"));
          return array_intersect($stubs, $this->getFileList());
      }
code_tokens: public function filesToOverwrite ( ) { $ files = new Filesystem ; $ stubs = array_map ( function ( SplFileInfo $ file ) { return $ file -> getRelativePathname ( ) ; } , $ files -> allFiles ( "{$this->sageRoot}/resources/assets" ) ) ; return array_intersect ( $ stubs , $ this -> getFileList ( ) ) ; }
docstring: List of files that will be overwritten
  
  @return array
docstring_tokens: List of files that will be overwritten