• 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/Auth.php
1
<?php
2

3
namespace Tochka\JsonRpc\Support;
4

5
use Tochka\JsonRpc\Contracts\AuthInterface;
6
use Tochka\JsonRpc\DTO\JsonRpcClient;
7

8
class Auth implements AuthInterface
9
{
10
    private JsonRpcClient $client;
11

12
    /**
13
     * @psalm-suppress PossiblyUnusedMethod
14
     */
15
    public function __construct()
16
    {
NEW
17
        $this->client = new JsonRpcClient();
×
18
    }
19

20
    public function getClient(): JsonRpcClient
21
    {
NEW
22
        return $this->client;
×
23
    }
24

25
    public function setClient(JsonRpcClient $client): void
26
    {
NEW
27
        $this->client = $client;
×
28
    }
29
}
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

© 2026 Coveralls, Inc