Quellcode durchsuchen

[HttpKernel] fixed missing init for Profile children property

Fabien Potencier vor 13 Jahren
Ursprung
Commit
3d7510e921
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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->token = $token;
         $this->collectors = array();
         $this->collectors = array();
+        $this->children = array();
     }
     }
 
 
     /**
     /**