From 2e28e76acd3d54ee415490cb2e4f2d1eae1624c5 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 26 Mar 2013 13:28:11 -0700 Subject: [PATCH] Updated PostgreSQL insertId() docs to actually make sense. Change-Id: Ia6c7240094fc431924b650a327fa19e93ed18261 --- includes/db/DatabasePostgres.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/db/DatabasePostgres.php b/includes/db/DatabasePostgres.php index c6ac11a215..55e0f88fb5 100644 --- a/includes/db/DatabasePostgres.php +++ b/includes/db/DatabasePostgres.php @@ -556,8 +556,10 @@ class DatabasePostgres extends DatabaseBase { } /** - * This must be called after nextSequenceVal - * @return null + * Return the result of the last call to nextSequenceValue(); + * This must be called after nextSequenceValue(). + * + * @return integer|null */ function insertId() { return $this->mInsertId; -- 2.20.1