dingo / dingo/api

Arr::first not updated after Laravel 5.3 migration

Open
#1,525 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/dingo/api/blob/5fa3c344f511e6ee1c9c0de42815978e1ed837cc/src/Console/Command/Docs.php#L207

There appears to be an issue on this line.

According to the [Laravel 5.3 migration guide](https://laravel.com/docs/5.3/upgrade) the Arr "Key / Value Order Change" should change.

> In previous versions of Laravel, the $key was passed first. Since most use cases are only interested in the $value it is now passed first. You should do a "global find" in your application for these methods to verify that you are expecting the $value to be passed as the first argument to your Closure.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.