Code Duplication    Length = 3-3 lines in 2 locations

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

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