Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1456-1458 (lines=3) @@
1453
	 * @return bool True if disconnected successfully, false otherwise.
1454
	 */
1455
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1456
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1457
			return false;
1458
		}
1459
1460
		/**
1461
		 * Fires upon the disconnect attempt.
@@ 1505-1507 (lines=3) @@
1502
	 * @return bool True if disconnected successfully, false otherwise.
1503
	 */
1504
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1505
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1506
			return false;
1507
		}
1508
1509
		/**
1510
		 * Fires upon the disconnect attempt.