Code Duplication    Length = 9-9 lines in 2 locations

src/Entity/Content.php 1 location

@@ 53-61 (lines=9) @@
50
     *
51
     * @return \Acquia\LiftClient\Entity\Content
52
     */
53
    public function setContentConnectorId($contentConnectorId = 'content_hub')
54
    {
55
        if (!is_string($contentConnectorId)) {
56
            throw new LiftSdkException('Argument must be an instance of string.');
57
        }
58
        $this['content_connector_id'] = $contentConnectorId;
59
60
        return $this;
61
    }
62
63
    /**
64
     * Gets the 'content_connector_id' parameter.

src/Entity/Probability.php 1 location

@@ 53-61 (lines=9) @@
50
     *
51
     * @return \Acquia\LiftClient\Entity\Probability
52
     */
53
    public function setContentConnectorId($contentConnectorId = 'content_hub')
54
    {
55
        if (!is_string($contentConnectorId)) {
56
            throw new LiftSdkException('Argument must be an instance of string.');
57
        }
58
        $this['content_connector_id'] = $contentConnectorId;
59
60
        return $this;
61
    }
62
63
    /**
64
     * Gets the 'content_connector_id' parameter.