mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Improve variable name
This commit is contained in:
parent
d03baa4613
commit
4a2d2f7336
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue