Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1333-1335 (lines=3) @@
1330
	 * @return bool True if disconnected successfully, false otherwise.
1331
	 */
1332
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1333
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1334
			return false;
1335
		}
1336
1337
		/**
1338
		 * Fires upon the disconnect attempt.
@@ 1379-1381 (lines=3) @@
1376
	 * @return bool True if disconnected successfully, false otherwise.
1377
	 */
1378
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1379
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1380
			return false;
1381
		}
1382
1383
		/**
1384
		 * Fires upon the disconnect attempt.