diff --git a/src/fbt/Services/CollectFbtsService.php b/src/fbt/Services/CollectFbtsService.php index c39eb70..1d2c238 100644 --- a/src/fbt/Services/CollectFbtsService.php +++ b/src/fbt/Services/CollectFbtsService.php @@ -2,6 +2,7 @@ namespace fbt\Services; +use fbt\Exceptions\FbtInvalidConfigurationException; use fbt\Exceptions\FbtParserException; use fbt\FbtConfig; use function fbt\rsearch; @@ -58,11 +59,16 @@ public function __construct() } /** + * @param string $path + * @param string $src + * @param null|string $fbtCommonPath + * @param bool $cleanCache + * @return void * @throws \Throwable * @throws \fbt\Exceptions\FbtInvalidConfigurationException * @throws \fbt\Exceptions\FbtParserException */ - public function collectFromFiles(string $path, string $src, ?string $fbtCommonPath, bool $cleanCache) + public function collectFromFiles(string $path, string $src, $fbtCommonPath, bool $cleanCache) { $fbtDir = $path . '/'; $file = $fbtDir . '.source_strings.json';