|
|
@@ -481,9 +481,9 @@ class OtWebsiteRepository
|
|
|
* Similar to findConfigFileAndContentFor(), but only returns the config file path
|
|
|
* @param int $rootUid
|
|
|
* @param string|null $identifier
|
|
|
- * @return string Path of the config file of the given website
|
|
|
+ * @return string | null Path of the config file of the given website
|
|
|
*/
|
|
|
- public function findConfigFilePathFor(int $rootUid, string $identifier = null): string
|
|
|
+ public function findConfigFilePathFor(int $rootUid, string $identifier = null): ?string
|
|
|
{
|
|
|
$pathAndConfig = $this->findConfigFileAndContentFor($rootUid, $identifier);
|
|
|
return $pathAndConfig[0];
|