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.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 0.8.6] - 2020-05-12
8+ ### Changed
9+ - implementation of ` debug_backtrace() ` to reduce memory consumption. Thanks @saernz !
10+
711## [ 0.8.5] - 2020-05-02
812### Changed
913- 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)
220220
221221 public function cachedValue (array $ arguments , string $ cacheKey )
222222 {
223- $ method = debug_backtrace ()[1 ]['function ' ];
223+ $ method = debug_backtrace (DEBUG_BACKTRACE_IGNORE_ARGS , 2 )[1 ]['function ' ];
224224 $ cacheTags = $ this ->makeCacheTags ();
225225 $ hashedCacheKey = sha1 ($ cacheKey );
226226 $ result = $ this ->retrieveCachedValue (
You can’t perform that action at this time.
0 commit comments