From 1d9c067a64242e60c4fe72f685a609b005932e5d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 13 Oct 2011 20:20:02 -0400 Subject: - Patch #341038 by jhodgdon, kathyh, sdboyer: Docblock for DatabaseStatementInterface is a bit off. --- includes/database/database.inc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'includes/database') diff --git a/includes/database/database.inc b/includes/database/database.inc index 3ca0f4710..33000aa70 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -1899,21 +1899,19 @@ class DatabaseTransaction { } /** - * A prepared statement. + * Represents a prepared statement. * - * Some methods in that class are purposely commented out. Due to a change in + * Some methods in that class are purposefully commented out. Due to a change in * how PHP defines PDOStatement, we can't define a signature for those methods * that will work the same way between versions older than 5.2.6 and later - * versions. - * - * Please refer to http://bugs.php.net/bug.php?id=42452 for more details. + * versions. See http://bugs.php.net/bug.php?id=42452 for more details. * * Child implementations should either extend PDOStatement: * @code * class DatabaseStatement_oracle extends PDOStatement implements DatabaseStatementInterface {} * @endcode - * or implement their own class, but in that case they will also have to - * implement the Iterator or IteratorArray interfaces before + * or define their own class. If defining their own class, they will also have + * to implement either the Iterator or IteratorAggregate interface before * DatabaseStatementInterface: * @code * class DatabaseStatement_oracle implements Iterator, DatabaseStatementInterface {} -- cgit v1.2.3