Код: Выделить всё
public function destroy(array $ids): array
{
$data= Item::findAllByFieldIn(
'id',
$ids
)->get();
// other code...
}
Подробнее здесь: https://stackoverflow.com/questions/797 ... it-testing
Код: Выделить всё
public function destroy(array $ids): array
{
$data= Item::findAllByFieldIn(
'id',
$ids
)->get();
// other code...
}