Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
ClaimEntity
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace MediaWiki\Extension\OAuth\Entity;
4
5use League\OAuth2\Server\Entities\ClaimEntityInterface;
6use League\OAuth2\Server\Entities\Traits\ClaimEntityTrait;
7
8class ClaimEntity implements ClaimEntityInterface {
9    use ClaimEntityTrait;
10
11    /**
12     * ClaimEntity constructor.
13     * @param string $name
14     * @param mixed $value
15     */
16    public function __construct( string $name, $value ) {
17        $this->name = $name;
18        $this->value = $value;
19    }
20}