Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / http-kernel / Profiler / Profile.php
index 9e0c9fb7dabddc2ba57a9b0669e60bc4a4bbab0f..9216f09e2bc352faed432bb2bfff5d3e7a03d0cd 100644 (file)
@@ -44,8 +44,6 @@ class Profile
     private $children = array();
 
     /**
-     * Constructor.
-     *
      * @param string $token The token
      */
     public function __construct($token)
@@ -75,8 +73,6 @@ class Profile
 
     /**
      * Sets the parent token.
-     *
-     * @param Profile $parent
      */
     public function setParent(Profile $parent)
     {
@@ -96,7 +92,7 @@ class Profile
     /**
      * Returns the parent token.
      *
-     * @return null|string The parent token
+     * @return string|null The parent token
      */
     public function getParentToken()
     {
@@ -168,7 +164,7 @@ class Profile
     }
 
     /**
-     * @param int The time
+     * @param int $time The time
      */
     public function setTime($time)
     {
@@ -216,8 +212,6 @@ class Profile
 
     /**
      * Adds the child token.
-     *
-     * @param Profile $child
      */
     public function addChild(Profile $child)
     {
@@ -268,8 +262,6 @@ class Profile
 
     /**
      * Adds a Collector.
-     *
-     * @param DataCollectorInterface $collector A DataCollectorInterface instance
      */
     public function addCollector(DataCollectorInterface $collector)
     {
@@ -290,6 +282,6 @@ class Profile
 
     public function __sleep()
     {
-        return array('token', 'parent', 'children', 'collectors', 'ip', 'method', 'url', 'time');
+        return array('token', 'parent', 'children', 'collectors', 'ip', 'method', 'url', 'time', 'statusCode');
     }
 }