Code Duplication    Length = 3-3 lines in 2 locations

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

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