Code Duplication    Length = 9-9 lines in 3 locations

src/Entity/Goal.php 3 locations

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