Code Duplication    Length = 38-38 lines in 2 locations

src/Response/GetUsersByConstraintResponse.php 1 location

@@ 19-56 (lines=38) @@
16
/**
17
 *
18
 */
19
class GetUsersByConstraintResponse extends Response
20
{
21
    /**
22
     * @var integer
23
     */
24
    protected $GetUsersByConstraintResult;
25
26
    /**
27
     * @var s\tdClass
28
     */
29
    protected $ResultIDs;
30
31
    /**
32
     *
33
     */
34
    public function __construct()
35
    {
36
        $this->GetUsersByConstraintResult = Response::ERROR_NORESULT;
37
        $this->ResultIDs = new \stdClass;
38
        $this->ResultIDs->int = [];
39
    }
40
41
    /**
42
     * {@inheritDoc}
43
     */
44
    public function getCode()
45
    {
46
        return $this->GetUsersByConstraintResult;
47
    }
48
49
    /**
50
     * @return integer[]
51
     */
52
    public function getIds()
53
    {
54
        return $this->ResultIDs->int;
55
    }
56
}
57

src/Response/GetUsersByFilterResponse.php 1 location

@@ 19-56 (lines=38) @@
16
/**
17
 *
18
 */
19
class GetUsersByFilterResponse extends Response
20
{
21
    /**
22
     * @var integer
23
     */
24
    protected $GetUsersByFilterResult;
25
26
    /**
27
     * @var \stdClass
28
     */
29
    protected $ResultIDs;
30
31
    /**
32
     *
33
     */
34
    public function __construct()
35
    {
36
        $this->GetUsersByFilterResult = Response::ERROR_NORESULT;
37
        $this->ResultIDs = new \stdClass;
38
        $this->ResultIDs->int = [];
39
    }
40
41
    /**
42
     * {@inheritDoc}
43
     */
44
    public function getCode()
45
    {
46
        return $this->GetUsersByFilterResult;
47
    }
48
49
    /**
50
     * @return integer[]
51
     */
52
    public function getIds()
53
    {
54
        return $this->ResultIDs->int;
55
    }
56
}
57