Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1369-1371 (lines=3) @@
1366
	 * @return bool True if disconnected successfully, false otherwise.
1367
	 */
1368
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1369
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1370
			return false;
1371
		}
1372
1373
		/**
1374
		 * Fires upon the disconnect attempt.
@@ 1418-1420 (lines=3) @@
1415
	 * @return bool True if disconnected successfully, false otherwise.
1416
	 */
1417
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1418
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1419
			return false;
1420
		}
1421
1422
		/**
1423
		 * Fires upon the disconnect attempt.