Ver Fonte

[HttpKernel] fixed missing init for Profile children property

Fabien Potencier há 13 anos atrás
pai
commit
3d7510e921
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/Symfony/Component/HttpKernel/Profiler/Profile.php

+ 1 - 0
src/Symfony/Component/HttpKernel/Profiler/Profile.php

@@ -32,6 +32,7 @@ class Profile implements \Serializable
     {
         $this->token = $token;
         $this->collectors = array();
+        $this->children = array();
     }
 
     /**