mining checker
All checks were successful
Deploy / deploy-staging (push) Successful in 27s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-21 00:14:19 +02:00
parent 2cdd14c400
commit b81de785ac
63 changed files with 11549 additions and 1338 deletions

View File

@@ -9,11 +9,14 @@ final class AppRegistry
/** @var array<int, array<string, mixed>> */
private array $apps;
public function __construct(string $configPath)
/**
* @param array<int, array<string, mixed>> $additionalApps
*/
public function __construct(string $configPath, array $additionalApps = [])
{
/** @var array<int, array<string, mixed>> $apps */
$apps = require $configPath;
$this->apps = $apps;
$this->apps = array_values(array_merge($apps, $additionalApps));
}
/**