Code Duplication    Length = 4-4 lines in 2 locations

src/PdoOci8.php 1 location

@@ 486-489 (lines=4) @@
483
            \PDO::ATTR_SERVER_VERSION,
484
        );
485
486
        if (array_search($attribute, $readOnlyAttributes) !== false ||
487
            !array_key_exists($attribute, $this->options)) {
488
            return false;
489
        }
490
491
        $this->options[$attribute] = $value;
492

src/PdoOci8Statement.php 1 location

@@ 516-519 (lines=4) @@
513
            \PDO::ATTR_AUTOCOMMIT,
514
        );
515
516
        if (array_search($attribute, $readOnlyAttributes) !== false ||
517
            !array_key_exists($attribute, $this->options)) {
518
            return false;
519
        }
520
521
        $this->options[$attribute] = $value;
522