Code Duplication    Length = 3-3 lines in 2 locations

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

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