Code Duplication    Length = 9-9 lines in 2 locations

src/Entity/Decide.php 1 location

@@ 77-85 (lines=9) @@
74
     *
75
     * @return \Acquia\LiftClient\Entity\Decide
76
     */
77
    public function setTouchIdentifier($touchIdentifier)
78
    {
79
        if (!is_string($touchIdentifier)) {
80
            throw new LiftSdkException('Argument must be an instance of string.');
81
        }
82
        $this['touch_identifier'] = $touchIdentifier;
83
84
        return $this;
85
    }
86
87
    /**
88
     * Sets the 'identity' parameter.

src/Entity/CapturePayload.php 1 location

@@ 19-27 (lines=9) @@
16
     *
17
     * @return \Acquia\LiftClient\Entity\CapturePayload
18
     */
19
    public function setTouchIdentifier($touchIdentifier)
20
    {
21
        if (!is_string($touchIdentifier)) {
22
            throw new LiftSdkException('Argument must be an instance of string.');
23
        }
24
        $this['touch_identifier'] = $touchIdentifier;
25
26
        return $this;
27
    }
28
29
    /**
30
     * Sets the 'identity' parameter.