Commit 789afe6
committed
Laravel may return either an object or a collection. If laravel-model-caching uses the same cache key, it will reutrn on of the two. See the comments by @zhenyangze. This is just a simple commit to make a pull request for his recommended fix.
1 parent 6997acb commit 789afe6
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments