Move array return

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-04-17 01:00:09 +01:00
parent 23623cca2c
commit 88acdbcc28

View File

@@ -302,7 +302,6 @@ class AssetsTransformer
public function transformCheckedoutAccessory(AccessoryCheckout $accessory_checkout)
{
if ($accessory_checkout->accessory) {
$array = [
'id' => $accessory_checkout->id,
@@ -327,8 +326,8 @@ class AssetsTransformer
];
$array += $permissions_array;
return $array;
}
return $array;
}
}