|
|
@@ -75,7 +75,7 @@ interface RepositoryInterface {
|
|
|
*
|
|
|
* @param array $fields A hash of field => new value.
|
|
|
* @param array $conditions An array of conditions, similar to those used with find()
|
|
|
- * @return boolean Success Returns true if one or more rows are effected.
|
|
|
+ * @return boolean Success Returns true if one or more rows are affected.
|
|
|
*/
|
|
|
public function updateAll($fields, $conditions);
|
|
|
|
|
|
@@ -87,12 +87,12 @@ interface RepositoryInterface {
|
|
|
* This method will *not* trigger beforeDelete/afterDelete events. If you
|
|
|
* need those first load a collection of records and delete them.
|
|
|
*
|
|
|
- * This method will *not* execute on associations `cascade` attribute. You should
|
|
|
+ * This method will *not* execute on associations' `cascade` attribute. You should
|
|
|
* use database foreign keys + ON CASCADE rules if you need cascading deletes combined
|
|
|
* with this method.
|
|
|
*
|
|
|
* @param array $conditions An array of conditions, similar to those used with find()
|
|
|
- * @return boolean Success Returns true if one or more rows are effected.
|
|
|
+ * @return boolean Success Returns true if one or more rows are affected.
|
|
|
* @see RepositoryInterface::delete()
|
|
|
*/
|
|
|
public function deleteAll($conditions);
|