Code Duplication    Length = 9-9 lines in 2 locations

src/Entity/Captures.php 1 location

@@ 58-66 (lines=9) @@
55
     *
56
     * @return \Acquia\LiftClient\Entity\Captures
57
     */
58
    public function setIdentitySource($identitySource)
59
    {
60
        if (!is_string($identitySource)) {
61
            throw new LiftSdkException('Argument must be an instance of string.');
62
        }
63
        $this['identity_source'] = $identitySource;
64
65
        return $this;
66
    }
67
68
    /**
69
     * Sets the 'do_not_track' parameter.

src/Entity/Decide.php 1 location

@@ 116-124 (lines=9) @@
113
     *
114
     * @return \Acquia\LiftClient\Entity\Decide
115
     */
116
    public function setIdentitySource($identitySource)
117
    {
118
        if (!is_string($identitySource)) {
119
            throw new LiftSdkException('Argument must be an instance of string.');
120
        }
121
        $this['identity_source'] = $identitySource;
122
123
        return $this;
124
    }
125
126
    /**
127
     * Sets the 'captures' parameter.