Issues (36)

src/Result/Component/ComponentEnvelope.php (1 issue)

1
<?php
2
3
namespace DevoraliveCachet\Result\Component;
4
5
use DevoraliveCachet\Result\Envelope;
6
use DevoraliveCachet\Entity\Component;
7
use JMS\Serializer\Annotation as JMS;
8
9
/**
10
 * Class ComponentEnvelope
11
 * @package DevoraliveCachet\Result\Component
12
 */
13
class ComponentEnvelope implements Envelope
14
{
15
16
    /**
17
     * @var Component
18
     * @JMS\Type("DevoraliveCachet\Entity\Component")
19
     */
20
    private $data;
21
22
    /**
23
     * Get the value of Data
24
     *
25
     * @return mixed
26
     */
27
    public function getData()
28
    {
29
        return $this->data;
30
    }
31
32
    /**
33
     * Set the value of Data
34
     *
35
     * @param mixed data
0 ignored issues
show
The type DevoraliveCachet\Result\Component\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...
36
     *
37
     * @return self
38
     */
39
    public function setData($data)
40
    {
41
        $this->data = $data;
42
        return $this;
43
    }
44
}
45