Skip to content

[5.4] Remove the callable type hint for array_sort.#19483

Merged
taylorotwell merged 2 commits intolaravel:5.4from
mathieutu:patch-1
Jun 5, 2017
Merged

[5.4] Remove the callable type hint for array_sort.#19483
taylorotwell merged 2 commits intolaravel:5.4from
mathieutu:patch-1

Conversation

@mathieutu
Copy link
Copy Markdown
Contributor

As Arr::sort() can accept a string, we should not force to use a callable here, and have to accept a string (with dot notation) too!

As `Arr::sort()` can accept a string, we should not force a callable here, and have to accept a string (with dot notation) too!
@mathieutu mathieutu changed the title Remove the callable type hint for array_sort. [5.4] Remove the callable type hint for array_sort. Jun 5, 2017
@taylorotwell taylorotwell merged commit cb48cf5 into laravel:5.4 Jun 5, 2017
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.

2 participants