From 4391ca7f7b8b8d2aef3d5ca77408902db8f2e860 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Wed, 7 Mar 2018 21:45:50 +0100 Subject: [PATCH] Connection::getTransaction() adjust phpdoc to also return null (#15848) [skip ci] --- framework/db/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/Connection.php b/framework/db/Connection.php index f01aa84..b316c78 100644 --- a/framework/db/Connection.php +++ b/framework/db/Connection.php @@ -730,7 +730,7 @@ class Connection extends Component /** * Returns the currently active transaction. - * @return Transaction the currently active transaction. Null if no active transaction. + * @return Transaction|null the currently active transaction. Null if no active transaction. */ public function getTransaction() {