Skip to content
Permalink
Browse files

Fix docblocks of the ORM `deleteAll()` method

  • Loading branch information...
HavokInspiration committed Jan 17, 2017
1 parent cf4632f commit d9f7478c8bc8ecee81e121a3c5770c7724792653
Showing with 2 additions and 4 deletions.
  1. +1 −3 src/Datasource/RepositoryInterface.php
  2. +1 −1 src/ORM/Association.php
@@ -96,8 +96,6 @@ public function query();
public function updateAll($fields, $conditions);
/**
* Delete all matching records.
*
* Deletes all records matching the provided conditions.
*
* This method will *not* trigger beforeDelete/afterDelete events. If you
@@ -109,7 +107,7 @@ public function updateAll($fields, $conditions);
*
* @param mixed $conditions Conditions to be used, accepts anything Query::where()
* can take.
* @return int Count Returns the affected rows.
* @return int Returns the number of affected rows.
* @see \Cake\Datasource\RepositoryInterface::delete()
*/
public function deleteAll($conditions);
@@ -736,7 +736,7 @@ public function updateAll($fields, $conditions)
*
* @param mixed $conditions Conditions to be used, accepts anything Query::where()
* can take.
* @return bool Success Returns true if one or more rows are affected.
* @return int Returns the number of affected rows.
* @see \Cake\ORM\Table::deleteAll()
*/
public function deleteAll($conditions)

0 comments on commit d9f7478

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.