Code Duplication    Length = 3-3 lines in 2 locations

src/Manager/GoalManager.php 2 locations

@@ 141-143 (lines=3) @@
138
     * @return string  The query string
139
     */
140
    protected function getQueryString($options) {
141
        if (isset($options['global']) && !in_array($options['global'], $this->validBooleanQueryStrings)) {
142
            throw new LiftSdkException('The "global" parameter must be a string value of "true" or "false", or absent.');
143
        }
144
        if (isset($options['limit_by_site']) && !in_array($options['limit_by_site'], $this->validBooleanQueryStrings)) {
145
            throw new LiftSdkException('The "limit_by_site" parameter must be a string value of "true" or "false", or absent.');
146
        }
@@ 144-146 (lines=3) @@
141
        if (isset($options['global']) && !in_array($options['global'], $this->validBooleanQueryStrings)) {
142
            throw new LiftSdkException('The "global" parameter must be a string value of "true" or "false", or absent.');
143
        }
144
        if (isset($options['limit_by_site']) && !in_array($options['limit_by_site'], $this->validBooleanQueryStrings)) {
145
            throw new LiftSdkException('The "limit_by_site" parameter must be a string value of "true" or "false", or absent.');
146
        }
147
148
        return parent::getQueryString($options);
149
    }