Code Duplication    Length = 9-9 lines in 2 locations

src/Entity/Content.php 1 location

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

src/Entity/Probability.php 1 location

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