|
|
@@ -2162,8 +2162,9 @@ class Table implements RepositoryInterface, EventListenerInterface, EventDispatc
|
|
|
/**
|
|
|
* @param \Cake\Datasource\EntityInterface[]|\Cake\Datasource\ResultSetInterface $entities Entities to save.
|
|
|
* @param array|\ArrayAccess|\Cake\ORM\SaveOptionsBuilder $options Options used when calling Table::save() for each entity.
|
|
|
- * @return \Cake\Datasource\EntityInterface[]|\Cake\Datasource\ResultSetInterface Entities list.
|
|
|
* @throws \Cake\ORM\Exception\PersistenceFailedException If an entity couldn't be saved.
|
|
|
+ * @throws \Exception If an entity couldn't be saved.
|
|
|
+ * @return \Cake\Datasource\EntityInterface[]|\Cake\Datasource\ResultSetInterface Entities list.
|
|
|
*/
|
|
|
protected function _saveMany(iterable $entities, $options = []): iterable
|
|
|
{
|
|
|
@@ -2268,7 +2269,6 @@ class Table implements RepositoryInterface, EventListenerInterface, EventDispatc
|
|
|
* @param array|\ArrayAccess $options Options used when calling Table::save() for each entity.
|
|
|
* @return \Cake\Datasource\EntityInterface[]|\Cake\Datasource\ResultSetInterface|false Entities list
|
|
|
* on success, false on failure.
|
|
|
- * @throws \Exception
|
|
|
* @see \Cake\ORM\Table::delete() for options and events related to this method.
|
|
|
*/
|
|
|
public function deleteMany(iterable $entities, $options = [])
|
|
|
@@ -2292,7 +2292,6 @@ class Table implements RepositoryInterface, EventListenerInterface, EventDispatc
|
|
|
* @param \Cake\Datasource\EntityInterface[]|\Cake\Datasource\ResultSetInterface $entities Entities to delete.
|
|
|
* @param array|\ArrayAccess $options Options used when calling Table::save() for each entity.
|
|
|
* @return \Cake\Datasource\EntityInterface[]|\Cake\Datasource\ResultSetInterface Entities list.
|
|
|
- * @throws \Exception
|
|
|
* @throws \Cake\ORM\Exception\PersistenceFailedException
|
|
|
* @see \Cake\ORM\Table::delete() for options and events related to this method.
|
|
|
*/
|