Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force
int
cast on ModelsLoader count (#2646)
When dealing with **legacy databases** the count for this related model returns a string like `"88"`, not `88`. ``` comments: [Comment] @hasmany(type: PAGINATOR) ``` After upgrading to PHP 8.4 this does not work anymore. And it throws a error _"Nuwave\Lighthouse\Execution\ModelsLoader\CountModelsLoader::extractCount(): Return value must be of type int, string returned"_
- Loading branch information