Add some missing @throws annotations

This commit is contained in:
Dylan K. Taylor
2019-01-30 19:41:20 +00:00
parent 8387c08db2
commit 3e58708130
7 changed files with 18 additions and 3 deletions

View File

@@ -75,6 +75,9 @@ class RegionLoader{
$this->filePath = $filePath;
}
/**
* @throws CorruptedRegionException
*/
public function open() : void{
$exists = file_exists($this->filePath);
if(!$exists){
@@ -219,6 +222,9 @@ class RegionLoader{
}
}
/**
* @throws CorruptedRegionException
*/
protected function loadLocationTable() : void{
fseek($this->filePointer, 0);
$this->lastSector = 1;