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

The-oGlow / ya-corapi / 19973072714

05 Dec 2025 07:00PM UTC coverage: 37.825%. First build
19973072714

push

github

web-flow
Push2master (#4)

11 of 51 new or added lines in 13 files covered. (21.57%)

713 of 1885 relevant lines covered (37.82%)

1.88 hits per line

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

0.0
/src/Yacorapi/Helper/Task.php
1
<?php
2

3
declare(strict_types=1);
4

5
/*
6
 * This file is part of ezlogging
7
 *
8
 * (c) 2024 Oliver Glowa, coding.glowa.com
9
 *
10
 * This source file is subject to the Apache-2.0 license that is bundled
11
 * with this source code in the file LICENSE.
12
 */
13

14
namespace oglowa\tools\Yacorapi\Helper;
15

16
class Task
17
{
18
    /** @var string */
19
    private $key;
20

21
    /** @var mixed[] */
22
    private $data;
23

24
    /**
25
     * Task constructor.
26
     *
27
     * @param string  $key
28
     * @param mixed[] $data
29
     */
NEW
30
    public function __construct(string $key, array $data)
×
31
    {
NEW
32
        $this->key  = $key;
×
NEW
33
        $this->data = $data;
×
34
    }
35

NEW
36
    public function getKey(): string
×
37
    {
NEW
38
        return $this->key;
×
39
    }
40

41
    /**
42
     * @return mixed[]
43
     */
NEW
44
    public function getData(): array
×
45
    {
NEW
46
        return $this->data;
×
47
    }
48
}
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