original_string: private function getFsRoot(): ?string
      {
          if (null === $this->fsRoot) {
              $tempDir = rtrim(sys_get_temp_dir(), '\\/');
  
              do {
                  $name = $tempDir.'/'.uniqid('vfs', true);
              } while (file_exists($name));
  
              $this->fs->mkdir($name);
              $this->fsRoot = $name;
          }
  
          return $this->fsRoot;
      }
code: private function getFsRoot(): ?string
      {
          if (null === $this->fsRoot) {
              $tempDir = rtrim(sys_get_temp_dir(), '\\/');
  
              do {
                  $name = $tempDir.'/'.uniqid('vfs', true);
              } while (file_exists($name));
  
              $this->fs->mkdir($name);
              $this->fsRoot = $name;
          }
  
          return $this->fsRoot;
      }
code_tokens: private function getFsRoot ( ) : ? string { if ( null === $ this -> fsRoot ) { $ tempDir = rtrim ( sys_get_temp_dir ( ) , '\\/' ) ; do { $ name = $ tempDir . '/' . uniqid ( 'vfs' , true ) ; } while ( file_exists ( $ name ) ) ; $ this -> fs -> mkdir ( $ name ) ; $ this -> fsRoot = $ name ; } return $ this -> fsRoot ; }
docstring: Create own temp directory and return path.
docstring_tokens: Create own temp directory and return path .