projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
Profiler
/
Profile.php
diff --git
a/vendor/twig/twig/lib/Twig/Profiler/Profile.php
b/vendor/twig/twig/lib/Twig/Profiler/Profile.php
index 60b9103c8be0cf426a83fe4e7cabc9c710d012e2..3fdc1a8ae2dbeff29142264e187dae0646ceed41 100644
(file)
--- a/
vendor/twig/twig/lib/Twig/Profiler/Profile.php
+++ b/
vendor/twig/twig/lib/Twig/Profiler/Profile.php
@@
-145,6
+145,12
@@
class Twig_Profiler_Profile implements IteratorAggregate, Serializable
);
}
+ public function reset()
+ {
+ $this->starts = $this->ends = $this->profiles = array();
+ $this->enter();
+ }
+
public function getIterator()
{
return new ArrayIterator($this->profiles);