From c1848a955ea62ddb7588df96d1ca6e229c6197de Mon Sep 17 00:00:00 2001 From: NikGapon <45200250+NikGapon@users.noreply.github.com> Date: Sat, 19 Nov 2022 15:08:14 +0400 Subject: [PATCH] fix type of return value --- Airbus/Airbus/SetAirplaneGeneric.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Airbus/Airbus/SetAirplaneGeneric.cs b/Airbus/Airbus/SetAirplaneGeneric.cs index aac55f0..2fe2e02 100644 --- a/Airbus/Airbus/SetAirplaneGeneric.cs +++ b/Airbus/Airbus/SetAirplaneGeneric.cs @@ -50,7 +50,7 @@ namespace Airbus } } _places[position] = airplane; - return 1; + return position; } /// /// Удаление объекта из набора с конкретной позиции