Code Duplication    Length = 3-3 lines in 2 locations

packages/connection/src/class-manager.php 2 locations

@@ 1421-1423 (lines=3) @@
1418
	 * @return bool True if disconnected successfully, false otherwise.
1419
	 */
1420
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1421
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1422
			return false;
1423
		}
1424
1425
		/**
1426
		 * Fires upon the disconnect attempt.
@@ 1372-1374 (lines=3) @@
1369
	 * @return bool True if disconnected successfully, false otherwise.
1370
	 */
1371
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1372
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1373
			return false;
1374
		}
1375
1376
		/**
1377
		 * Fires upon the disconnect attempt.