Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1377-1379 (lines=3) @@
1374
	 * @return bool True if disconnected successfully, false otherwise.
1375
	 */
1376
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1377
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1378
			return false;
1379
		}
1380
1381
		/**
1382
		 * Fires upon the disconnect attempt.
@@ 1426-1428 (lines=3) @@
1423
	 * @return bool True if disconnected successfully, false otherwise.
1424
	 */
1425
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1426
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1427
			return false;
1428
		}
1429
1430
		/**
1431
		 * Fires upon the disconnect attempt.