File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 0.8.6] - 2020-05-12
8
+ ### Changed
9
+ - implementation of ` debug_backtrace() ` to reduce memory consumption. Thanks @saernz !
10
+
7
11
## [ 0.8.5] - 2020-05-02
8
12
### Changed
9
13
- PHP dependency version to ">=7.2.5" to be more inline with Laravel.
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ public function value($column)
220
220
221
221
public function cachedValue (array $ arguments , string $ cacheKey )
222
222
{
223
- $ method = debug_backtrace ()[1 ]['function ' ];
223
+ $ method = debug_backtrace (DEBUG_BACKTRACE_IGNORE_ARGS , 2 )[1 ]['function ' ];
224
224
$ cacheTags = $ this ->makeCacheTags ();
225
225
$ hashedCacheKey = sha1 ($ cacheKey );
226
226
$ result = $ this ->retrieveCachedValue (
You can’t perform that action at this time.
0 commit comments