Code Duplication    Length = 10-10 lines in 3 locations

src/MetadataV3/edm/Groups/TCommonPropertyAttributesTrait.php 1 location

@@ 365-374 (lines=10) @@
362
     * @param string $sRID
363
     * @return self
364
     */
365
    public function setSRID($sRID)
366
    {
367
        $msg = null;
368
        if (null != $sRID && !$this->isTSridFacetValid($sRID)) {
369
            $msg = "SRID must be a valid TSridFacet";
370
            throw new \InvalidArgumentException($msg);
371
        }
372
        $this->sRID = $sRID;
373
        return $this;
374
    }
375
376
    /**
377
     * Gets as concurrencyMode

src/MetadataV3/edm/Groups/TFacetAttributesTrait.php 1 location

@@ 290-299 (lines=10) @@
287
     * @param string $sRID
288
     * @return self
289
     */
290
    public function setSRID($sRID)
291
    {
292
        $msg = null;
293
        if (null != $sRID && !$this->isTSridFacetValid($sRID)) {
294
            $msg = "SRID must be a valid TSridFacet";
295
            throw new \InvalidArgumentException($msg);
296
        }
297
        $this->sRID = $sRID;
298
        return $this;
299
    }
300
301
    public function isTFacetAttributesTraitValid(&$msg = null)
302
    {

src/MetadataV3/edm/Groups/TFunctionImportParameterAttributesTrait.php 1 location

@@ 231-240 (lines=10) @@
228
     * @param string $sRID
229
     * @return self
230
     */
231
    public function setSRID($sRID)
232
    {
233
        $msg = null;
234
        if (null != $sRID && !$this->isTSridFacetValid($sRID)) {
235
            $msg = "SRID must be a valid TSRIDFacet";
236
            throw new \InvalidArgumentException($msg);
237
        }
238
        $this->sRID = $sRID;
239
        return $this;
240
    }
241
242
    public function isTFunctionImportParameterAttributesValid(&$msg = null)
243
    {