Method App\Http\Requests\EndTripRequest::rules() : Hello I'm new on Laravel and while i'm working with a code i found an error when i try to call an API from the application on android

I'm really lost with it i don't even know what is the problem

I don't know where to start

ReflectionException: Method App\Http\Requests\EndTripRequest::rules() does not exist in file /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php on line 142
    Stack trace:
      1. ReflectionException-&gt;() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:142
      2. ReflectionMethod-&gt;__construct() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:142
      3. Illuminate\Container\BoundMethod-&gt;getCallReflector() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:120
      4. Illuminate\Container\BoundMethod-&gt;getMethodDependencies() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32
      5. Illuminate\Container\BoundMethod-&gt;Illuminate\Container\{closure}() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:90
      6. Illuminate\Container\BoundMethod-&gt;callBoundMethod() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:34
      7. Illuminate\Container\BoundMethod-&gt;call() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/Container.php:576
      8. Illuminate\Container\Container-&gt;call() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Foundation/Http/FormRequest.php:105
      9. Illuminate\Foundation\Http\FormRequest-&gt;createDefaultValidator() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Foundation/Http/FormRequest.php:84
     10. Illuminate\Foundation\Http\FormRequest-&gt;getValidatorInstance() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Validation/ValidatesWhenResolvedTrait.php:23
     11. Illuminate\Foundation\Http\FormRequest-&gt;validateResolved() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Foundation/Providers/FormRequestServiceProvider.php:30
     12. Illuminate\Foundation\Providers\FormRequestServiceProvider-&gt;Illuminate\Foundation\Providers\{closure}() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/Container.php:1082
     13. Illuminate\Container\Container-&gt;fireCallbackArray() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/Container.php:1046
     14. Illuminate\Container\Container-&gt;fireAfterResolvingCallbacks() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/Container.php:1031
     15. Illuminate\Container\Container-&gt;fireResolvingCallbacks() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/Container.php:687
     16. Illuminate\Container\Container-&gt;resolve() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Container/Container.php:615
     17. Illuminate\Container\Container-&gt;make() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:757
     18. Illuminate\Foundation\Application-&gt;make() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Routing/RouteDependencyResolverTrait.php:79
     19. Illuminate\Routing\ControllerDispatcher-&gt;transformDependency() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Routing/RouteDependencyResolverTrait.php:46
     20. Illuminate\Routing\ControllerDispatcher-&gt;resolveMethodDependencies() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Routing/RouteDependencyResolverTrait.php:27
     21. Illuminate\Routing\ControllerDispatcher-&gt;resolveClassMethodDependencies() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:41
     22. Illuminate\Routing\ControllerDispatcher-&gt;dispatch() /home/********/domains/hilove.tech/vendor/laravel/framework/src/Illuminate/Routing/Route.php:2
    responseFromServerError
D/errror: null
D/error: [Ljava.lang.StackTraceElement;@33928b1
    null