Code Duplication    Length = 3-3 lines in 2 locations

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

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