original_string: private function getFolderByVolumeId(int $volumeId): VolumeFolder
      {
          return $this->mockFolder ? $this->mockFolder : VolumeFolder::findOne(['volumeId' => $volumeId]);
      }
code: private function getFolderByVolumeId(int $volumeId): VolumeFolder
      {
          return $this->mockFolder ? $this->mockFolder : VolumeFolder::findOne(['volumeId' => $volumeId]);
      }
code_tokens: private function getFolderByVolumeId ( int $ volumeId ) : VolumeFolder { return $ this -> mockFolder ? $ this -> mockFolder : VolumeFolder :: findOne ( [ 'volumeId' => $ volumeId ] ) ; }
docstring: Get folder by volume id
  
  @param int $volumeId
  @return VolumeFolder
docstring_tokens: Get folder by volume id