Code Duplication    Length = 3-3 lines in 2 locations

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

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