Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1461-1463 (lines=3) @@
1458
	 * @return bool True if disconnected successfully, false otherwise.
1459
	 */
1460
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1461
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1462
			return false;
1463
		}
1464
1465
		/**
1466
		 * Fires upon the disconnect attempt.
@@ 1510-1512 (lines=3) @@
1507
	 * @return bool True if disconnected successfully, false otherwise.
1508
	 */
1509
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1510
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1511
			return false;
1512
		}
1513
1514
		/**
1515
		 * Fires upon the disconnect attempt.