original_string: public function findByFolderId($folderId)
      {
          foreach ($this->volumes as $volume) {
              if ($volume->findFolder($folderId)) {
                  return $volume;
              }
          }
  
          return null;
      }
code: public function findByFolderId($folderId)
      {
          foreach ($this->volumes as $volume) {
              if ($volume->findFolder($folderId)) {
                  return $volume;
              }
          }
  
          return null;
      }
code_tokens: public function findByFolderId ( $ folderId ) { foreach ( $ this -> volumes as $ volume ) { if ( $ volume -> findFolder ( $ folderId ) ) { return $ volume ; } } return null ; }
docstring: Return volume by folder ID.
  
  @param string $folderId
  
  @return Volume
docstring_tokens: Return volume by folder ID .