Issues (36)

src/Result/Metric/MetricsEnvelope.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace DevoraliveCachet\Result\Metric;
4
5
use DevoraliveCachet\Result\EnvelopeCollection;
6
use JMS\Serializer\Annotation as JMS;
7
8
/**
9
 * Class MetricsEnvelope
10
 * @package DevoraliveCachet\Result\Metric
11
 */
12
class MetricsEnvelope extends EnvelopeCollection
13
{
14
15
    /**
16
     * @var array
17
     * @JMS\Type("array<DevoraliveCachet\Entity\Metric>")
18
     */
19
    private $data;
20
21
    /**
22
     * Get the value of Data
23
     *
24
     * @return mixed
25
     */
26
    public function getData()
27
    {
28
        return $this->data;
29
    }
30
31
    /**
32
     * Set the value of Data
33
     *
34
     * @param mixed data
0 ignored issues
show
The type DevoraliveCachet\Result\Metric\data was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
35
     *
36
     * @return self
37
     */
38
    public function setData($data)
39
    {
40
        $this->data = $data;
41
        return $this;
42
    }
43
}
44