I came across this issue when refactoring a purpose to return an object rather than an array, but I forgot to update the return value Within the if statement. To implement this attribute it's necessary to inherit a class from special base course-initializer or make use of a static helper https://smartworlddeveloper.co.in/