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

tylernathanreed / jira-client-php / 13834920235

13 Mar 2025 12:45PM UTC coverage: 71.089% (-2.2%) from 73.289%
13834920235

push

github

tylernathanreed
Merge branch 'master' of github.com:tylernathanreed/jira-client-php

3976 of 5593 relevant lines covered (71.09%)

9.76 hits per line

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

0.0
/src/Schema/CustomContextVariable.php
1
<?php
2

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\PolymorphicDto;
6

7
final readonly class CustomContextVariable extends PolymorphicDto
8
{
9
    public function __construct(
×
10
        /** Type of custom context variable. */
11
        public string $type,
12
    ) {
13
    }
×
14

15
    public static function discriminator(): string
×
16
    {
17
        return 'type';
×
18
    }
19

20
    /** @inheritDoc */
21
    public static function discriminatorMap(): array
×
22
    {
23
        return [
×
24
            'issue' => IssueContextVariable::class,
×
25
            'json' => JsonContextVariable::class,
×
26
            'user' => UserContextVariable::class,
×
27
        ];
×
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