Utilize `Illuminate\Support\Arr`.

Signed-off-by: crynobone <crynobone@gmail.com>
Reorder uses.

Signed-off-by: crynobone <crynobone@gmail.com>
Remove irrelevant use statement.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.2'