The expression return $this->workDir could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
67
}
68
69
/**
70
* @param string $dir
71
*/
72
8
public function setWorkDir(string $dir): void
73
{
74
8
$this->workDir = $dir;
75
8
}
76
77
/**
78
* @return mixed
79
*/
80
6
protected function getXMLWriter()
81
{
82
6
return $this->XMLWriter;
83
}
84
85
/**
86
* @return string
87
*/
88
6
protected function getSitemapFileFullPath(): string