Issues (36)

src/Result/Group/GroupsEnvelope.php (1 issue)

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