Code Duplication    Length = 4-4 lines in 2 locations

src/PdoOci8.php 1 location

@@ 540-543 (lines=4) @@
537
            \PDO::ATTR_SERVER_VERSION,
538
        );
539
540
        if (array_search($attribute, $readOnlyAttributes) !== false ||
541
            !array_key_exists($attribute, $this->options)) {
542
            return false;
543
        }
544
545
        $this->options[$attribute] = $value;
546

src/PdoOci8Statement.php 1 location

@@ 720-723 (lines=4) @@
717
            \PDO::ATTR_AUTOCOMMIT,
718
        );
719
720
        if (array_search($attribute, $readOnlyAttributes) !== false ||
721
            !array_key_exists($attribute, $this->options)) {
722
            return false;
723
        }
724
725
        $this->options[$attribute] = $value;
726