original_string: public function fileOnly($flag = true)
      {
          $this->file_only = $flag;
          if ($this->file_only) $this->directory_only = false;
          return $this;
      }
code: public function fileOnly($flag = true)
      {
          $this->file_only = $flag;
          if ($this->file_only) $this->directory_only = false;
          return $this;
      }
code_tokens: public function fileOnly ( $ flag = true ) { $ this -> file_only = $ flag ; if ( $ this -> file_only ) $ this -> directory_only = false ; return $ this ; }
docstring: set file only flag is true
  
  @return  Samurai\Samurai\Component\FileSystem\Finder\Finder
docstring_tokens: set file only flag is true