diff --git a/src/Methods/ChainedMethod.php b/src/Methods/ChainedMethod.php index 857e58a..56376fd 100644 --- a/src/Methods/ChainedMethod.php +++ b/src/Methods/ChainedMethod.php @@ -36,7 +36,7 @@ public function exposeDirectory($source, $target) foreach ($this->failovers as $failover) { try { $failover->exposeDirectory($source, $target); - break; // Break on first success + return; // Return on first success } catch (RuntimeException $lastException) { }