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 and others added 2 commits February 28, 2025 10:55
Co-authored-by: Sebastian Hädrich <11225821+shaedrich@users.noreply.github.com>
@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

4 participants