Code Duplication    Length = 3-3 lines in 2 locations

includes/MagicWordArray.php 2 locations

@@ 124-126 (lines=3) @@
121
		if ( is_null( $this->regex ) ) {
122
			$base = $this->getBaseRegex();
123
			$this->regex = [ '', '' ];
124
			if ( $this->baseRegex[0] !== '' ) {
125
				$this->regex[0] = "/{$base[0]}/iuS";
126
			}
127
			if ( $this->baseRegex[1] !== '' ) {
128
				$this->regex[1] = "/{$base[1]}/S";
129
			}
@@ 127-129 (lines=3) @@
124
			if ( $this->baseRegex[0] !== '' ) {
125
				$this->regex[0] = "/{$base[0]}/iuS";
126
			}
127
			if ( $this->baseRegex[1] !== '' ) {
128
				$this->regex[1] = "/{$base[1]}/S";
129
			}
130
		}
131
		return $this->regex;
132
	}