• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tochka-developers / jsonrpc / 4135501466

pending completion
4135501466

push

github

darkdarin
Merge remote-tracking branch 'origin/v5.0'

209 of 813 new or added lines in 51 files covered. (25.71%)

233 of 1307 relevant lines covered (17.83%)

1.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Support/ServersConfig.php
1
<?php
2

3
namespace Tochka\JsonRpc\Support;
4

5
/**
6
 * @psalm-import-type ServerConfigArray from ServerConfig
7
 */
8
class ServersConfig
9
{
10
    /** @var array<string, ServerConfig> */
11
    public array $serversConfig = [];
12

13
    /**
14
     * @param array<string, ServerConfigArray> $config
15
     */
16
    public function __construct(array $config)
17
    {
NEW
18
        foreach ($config as $serverName => $serverConfig) {
×
NEW
19
            $this->serversConfig[$serverName] = new ServerConfig($serverConfig);
×
20
        }
21
    }
22
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc