Skip to content

Conversation

lancepioch
Copy link
Contributor

Currently using phpstan and in the docs (and code), it clearly states and allows these primitive types!

The full list of acceptable types: https://www.php.net/manual/en/function.get-debug-type.php

Docs: https://laravel.com/docs/12.x/collections#method-ensure

@taylorotwell taylorotwell merged commit fd9681f into laravel:11.x Feb 28, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants