From 81d5413dbda270342423ef8a4aac49b70391ad05 Mon Sep 17 00:00:00 2001 From: Sebastian Butsch <5646364+wutsch0@users.noreply.github.com> Date: Thu, 1 Feb 2018 15:07:43 +0100 Subject: [PATCH] Fix php doc Manager->setCurrentConnection() throws Doctrine_Manager_Exception instead of InvalidKeyException --- lib/Doctrine/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Manager.php b/lib/Doctrine/Manager.php index a8f75be7b..1b9aaf1a1 100644 --- a/lib/Doctrine/Manager.php +++ b/lib/Doctrine/Manager.php @@ -610,7 +610,7 @@ public function getConnections() * Sets the current connection to $key * * @param mixed $key the connection key - * @throws InvalidKeyException + * @throws Doctrine_Manager_Exception * @return void */ public function setCurrentConnection($key)