Code Duplication    Length = 38-38 lines in 2 locations

src/Response/GetUsersByConstraintResponse.php 1 location

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

src/Response/GetUsersByFilterResponse.php 1 location

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