Skip to content

Commit

Permalink
Fix PHP compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
richardDobron committed Jan 12, 2024
1 parent a6478f9 commit 48fd992
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/fbt/Services/CollectFbtsService.php
Expand Up @@ -2,6 +2,7 @@

namespace fbt\Services;

use fbt\Exceptions\FbtInvalidConfigurationException;
use fbt\Exceptions\FbtParserException;
use fbt\FbtConfig;
use function fbt\rsearch;
Expand Down Expand Up @@ -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';
Expand Down

0 comments on commit 48fd992

Please sign in to comment.