Code Duplication    Length = 4-4 lines in 2 locations

projects/packages/connection/legacy/class-jetpack-ixr-client.php 1 location

@@ 101-104 (lines=4) @@
98
		}
99
100
		// Is the message a fault?
101
		if ( 'fault' === $this->message->messageType ) {
102
			$this->error = new IXR_Error( $this->message->faultCode, $this->message->faultString );
103
			return false;
104
		}
105
106
		// Message must be OK.
107
		return true;

projects/plugins/vaultpress/class.vaultpress-ixr-ssl-client.php 1 location

@@ 137-140 (lines=4) @@
134
			return false;
135
		}
136
		// Is the message a fault?
137
		if ( $this->message->messageType == 'fault' ) {
138
			$this->error = new IXR_Error( $this->message->faultCode, $this->message->faultString );
139
			return false;
140
		}
141
		// Message must be OK
142
		return true;
143
	}