Selaa lähdekoodia

[HttpKernel] fixed missing init for Profile children property

Fabien Potencier 13 vuotta sitten
vanhempi
commit
3d7510e921
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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();
     }
 
     /**