swayok / alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea
MIT License
169 stars 26 forks source link

Laravel 6 fixes #11

Closed rogervila closed 5 years ago

rogervila commented 5 years ago

Hello,

First of all, thank you for merging my last PR.

Using the newest package version gives an error when trying to load it on Laravel 6. The reason is that Laravel has dropped modified the way to use helper functions.

https://laravel.com/docs/6.0/helpers#method-array-get

This PR solves the issue and keeps compatibility across all versions, since the Arr support class exists on all versions.

https://laravel.com/api/5.2/Illuminate/Support/Arr.html#method_get

swayok commented 5 years ago

Oh. I've yet to upgrade for Laravel 6. Thanks for the fixes. Will merge soon