refactor: IBehaviourController.GetBehaviours return value replaced with IReadOnlyList
This commit is contained in:
@@ -72,7 +72,7 @@ public class BehaviourController : IBehaviourController
|
||||
return default;
|
||||
}
|
||||
|
||||
public IList<T> GetBehaviours<T>()
|
||||
public IReadOnlyList<T> GetBehaviours<T>()
|
||||
{
|
||||
List<T>? behaviours = null;
|
||||
foreach (IBehaviour behaviourItem in this.behaviours)
|
||||
|
Reference in New Issue
Block a user