Code Duplication    Length = 3-3 lines in 2 locations

core/EE_Request_Handler.core.php 1 location

@@ 330-332 (lines=3) @@
327
	 */
328
	public function set( $key, $value, $override_ee = false ) {
329
		// don't allow "ee" to be overwritten unless explicitly instructed to do so
330
		if ( $key != 'ee' || ( $key == 'ee' && empty( $this->_params['ee'] )) || ( $key == 'ee' && ! empty( $this->_params['ee'] ) && $override_ee )) {
331
			$this->_params[ $key ] = $value;
332
		}
333
	}
334
335

core/request_stack/EE_Request.core.php 1 location

@@ 124-126 (lines=3) @@
121
	 */
122
	public function set( $key, $value, $override_ee = FALSE ) {
123
		// don't allow "ee" to be overwritten unless explicitly instructed to do so
124
		if ( $key != 'ee' || ( $key == 'ee' && empty( $this->_params['ee'] )) || ( $key == 'ee' && ! empty( $this->_params['ee'] ) && $override_ee )) {
125
			$this->_params[ $key ] = $value;
126
		}
127
	}
128
129