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

api-platform / schema-generator / 13057881498

30 Jan 2025 05:31PM UTC coverage: 79.038%. First build
13057881498

Pull #433

github

web-flow
Merge 9d06dd0e7 into d4183e22c
Pull Request #433: chore: bump deps and fix tests

9 of 10 new or added lines in 7 files covered. (90.0%)

1742 of 2204 relevant lines covered (79.04%)

16.05 hits per line

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

0.0
/src/OpenApi/Model/Constant.php
1
<?php
2

3
/*
4
 * This file is part of the API Platform project.
5
 *
6
 * (c) Kévin Dunglas <dunglas@gmail.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11

12
declare(strict_types=1);
13

14
namespace ApiPlatform\SchemaGenerator\OpenApi\Model;
15

16
use ApiPlatform\SchemaGenerator\Model\Constant as BaseConstant;
17

18
final class Constant extends BaseConstant
19
{
20
    private string $value;
21

22
    public function __construct(string $name, string $value)
23
    {
24
        parent::__construct($name);
×
25

26
        $this->value = $value;
×
27
    }
28

29
    public function value(): string
30
    {
31
        return $this->value;
×
32
    }
33

34
    public function comment(): string
35
    {
NEW
36
        return '';
×
37
    }
38
}
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