Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.x] Fix method doctypes of Arr class #41488

Merged
merged 1 commit into from Mar 15, 2022
Merged

Conversation

hAz5
Copy link
Contributor

@hAz5 hAz5 commented Mar 15, 2022

Arr::add() support int and float too

$a = Arr::add([], 1, 'hAz');// result: [1 => 'hAz'] FOR INT 
$a = Arr::add([], 1.1, 'hAz');// result: [1 => [1 => 'hAz']] FOR FLOAT

doctype improved.

@hAz5 hAz5 changed the title [9.x]fix method doctypes of Arr Support class [9.x]improve dc type: fix method doctypes of Arr Support class Mar 15, 2022
@hAz5 hAz5 changed the title [9.x]improve dc type: fix method doctypes of Arr Support class [9.x]improve doctype: fix method doctypes of Arr Support class Mar 15, 2022
@GrahamCampbell GrahamCampbell changed the title [9.x]improve doctype: fix method doctypes of Arr Support class [9.x] Fix method doctypes of Arr class Mar 15, 2022
@taylorotwell taylorotwell merged commit 31e6062 into laravel:9.x Mar 15, 2022
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.

None yet

3 participants