Code Duplication    Length = 9-9 lines in 3 locations

src/Entity/Goal.php 3 locations

@@ 32-40 (lines=9) @@
29
     *
30
     * @return \Acquia\LiftClient\Entity\Goal
31
     */
32
    public function setId($id)
33
    {
34
        if (!is_string($id)) {
35
            throw new LiftSdkException('Argument must be an instance of string.');
36
        }
37
        $this['id'] = $id;
38
39
        return $this;
40
    }
41
42
    /**
43
     * Gets the 'id' parameter.
@@ 61-69 (lines=9) @@
58
     *
59
     * @return \Acquia\LiftClient\Entity\Goal
60
     */
61
    public function setName($name)
62
    {
63
        if (!is_string($name)) {
64
            throw new LiftSdkException('Argument must be an instance of string.');
65
        }
66
        $this['name'] = $name;
67
68
        return $this;
69
    }
70
71
    /**
72
     * Gets the 'name' parameter.
@@ 90-98 (lines=9) @@
87
     *
88
     * @return \Acquia\LiftClient\Entity\Goal
89
     */
90
    public function setDescription($description)
91
    {
92
        if (!is_string($description)) {
93
            throw new LiftSdkException('Argument must be an instance of string.');
94
        }
95
        $this['description'] = $description;
96
97
        return $this;
98
    }
99
100
    /**
101
     * Gets the 'description' parameter.