Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1393-1395 (lines=3) @@
1390
	 * @return bool True if disconnected successfully, false otherwise.
1391
	 */
1392
	public function delete_all_connection_tokens( $ignore_connected_plugins = false ) {
1393
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1394
			return false;
1395
		}
1396
1397
		/**
1398
		 * Fires upon the disconnect attempt.
@@ 1442-1444 (lines=3) @@
1439
	 * @return bool True if disconnected successfully, false otherwise.
1440
	 */
1441
	public function disconnect_site_wpcom( $ignore_connected_plugins = false ) {
1442
		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
1443
			return false;
1444
		}
1445
1446
		/**
1447
		 * Fires upon the disconnect attempt.