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

3
namespace Tochka\JsonRpc\Exceptions;
4

5
use Tochka\JsonRpc\Exceptions\Errors\InvalidTypeError;
6
use Tochka\JsonRpc\Standard\Exceptions\Additional\InvalidParameterException;
7

8
class InvalidTypeException extends InvalidParameterException
9
{
10
    public function __construct(
11
        string $parameterName,
12
        string $actualType,
13
        string $expectedType,
14
        ?\Throwable $previous = null
15
    ) {
NEW
16
        parent::__construct(
×
NEW
17
            new InvalidTypeError($parameterName, $actualType, $expectedType),
×
NEW
18
            $previous
×
NEW
19
        );
×
20
    }
21
}
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