mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-18 03:33:26 +02:00
Update Twig to v2.15.4
This commit is contained in:
@@ -15,10 +15,8 @@ use Twig\Profiler\Profile;
|
||||
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @final
|
||||
*/
|
||||
class BlackfireDumper
|
||||
final class BlackfireDumper
|
||||
{
|
||||
public function dump(Profile $profile)
|
||||
{
|
||||
@@ -42,7 +40,7 @@ EOF;
|
||||
return $str;
|
||||
}
|
||||
|
||||
private function dumpChildren($parent, Profile $profile, &$data)
|
||||
private function dumpChildren(string $parent, Profile $profile, &$data)
|
||||
{
|
||||
foreach ($profile as $p) {
|
||||
if ($p->isTemplate()) {
|
||||
@@ -55,7 +53,7 @@ EOF;
|
||||
}
|
||||
}
|
||||
|
||||
private function dumpProfile($edge, Profile $profile, &$data)
|
||||
private function dumpProfile(string $edge, Profile $profile, &$data)
|
||||
{
|
||||
if (isset($data[$edge])) {
|
||||
++$data[$edge]['ct'];
|
||||
|
Reference in New Issue
Block a user