summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2015-10-24 03:15:22 (GMT)
committerxjm2015-10-24 03:15:22 (GMT)
commit9af4f7a7d6ff437c2b7162fabe8fa3c940d98ea6 (patch)
tree3461817b5d831c65a5df89277ba70961ce425892
parent049d6b0ddf9e244c327783fbfb18fa735a644bf8 (diff)
Issue #2042239 by tbradbury, pkiraly, lucaslg, pjonckiere, oriol_e9g, ivanchaer, jhodgdon, chx, cilefen, David_Rothstein: DeleteQuery::execute (Delete::execute() in D8) return value documentation is unusable
-rw-r--r--core/lib/Drupal/Core/Database/Query/Delete.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lib/Drupal/Core/Database/Query/Delete.php b/core/lib/Drupal/Core/Database/Query/Delete.php
index 1f59dd9..148f169 100644
--- a/core/lib/Drupal/Core/Database/Query/Delete.php
+++ b/core/lib/Drupal/Core/Database/Query/Delete.php
@@ -47,8 +47,8 @@ class Delete extends Query implements ConditionInterface {
/**
* Executes the DELETE query.
*
- * @return
- * The return value is dependent on the database connection.
+ * @return int
+ * The number of rows affected by the delete query.
*/
public function execute() {
$values = array();