Improve variable name

This commit is contained in:
Marcus Moore 2024-08-07 13:32:30 -07:00
parent d03baa4613
commit 4a2d2f7336
No known key found for this signature in database

View file

@ -230,9 +230,9 @@ class BulkDeleteUsersTest extends TestCase
private function attachAccessoryToUsers(Accessory $accessory, array $users): void private function attachAccessoryToUsers(Accessory $accessory, array $users): void
{ {
foreach ($users as $user) { foreach ($users as $user) {
$a = $accessory->checkouts()->make(); $accessoryCheckout = $accessory->checkouts()->make();
$a->assignedTo()->associate($user); $accessoryCheckout->assignedTo()->associate($user);
$a->save(); $accessoryCheckout->save();
} }
} }