- Laravel Version: 6.12.0 - PHP Version: 7.4.0 - Database Driver & Version: MySQL 8.0 ### Description: Passing an integer 1 into a whereIn against a string column (i.e. UUID), returns a match against 1ab1fdeb-7e83-4be9-a1b4-52da267d2733 ```php Model::whereIn('uuid', [1]) ->each(function(Model $model) { dd($model->uuid); // '1ab1fdeb-7e83-4be9-a1b4-52da267d2733' }); ``` To prevent this from happening you have to force the whereIn array to a string, which is not very intuitive, even if technically correct. ```php Model::whereIn('uuid', array_map('strval', $this->ids)); // returns no results as expected ```