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

3
namespace Tochka\JsonRpc\Exceptions\Errors;
4

5
use Tochka\JsonRpc\Standard\Exceptions\Errors\InvalidParameterError;
6

7
class InvalidEnumValueError extends InvalidParameterError
8
{
9
    public function __construct(string $parameterName, mixed $actualValue, array $expectedValues)
10
    {
NEW
11
        parent::__construct(
×
NEW
12
            parameterName: $parameterName,
×
NEW
13
            code:          self::CODE_INCORRECT_VALUE,
×
NEW
14
            meta:          [
×
NEW
15
                               'actual_value' => $actualValue,
×
NEW
16
                               'expected_value' => $expectedValues
×
NEW
17
                           ]
×
NEW
18
        );
×
19
    }
20
}
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