Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[6.x] Fix non-eloquent model validation #30840
5728c66 broke validation for models/entities that don't inherit from Laravels Model class (laravel-doctrine), because parseTable assumes an Eloquent Model if the provided table/model string is a class. This PR adds a check before instantiating the class and falls back to the previous behavior if it's not an Eloquent Model.