Laravel version update
Laravel version update
This commit is contained in:
21
vendor/symfony/http-kernel/Profiler/Profile.php
vendored
21
vendor/symfony/http-kernel/Profiler/Profile.php
vendored
@@ -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 The parent Profile
|
||||
*/
|
||||
public function setParent(Profile $parent)
|
||||
{
|
||||
@@ -86,7 +82,7 @@ class Profile
|
||||
/**
|
||||
* Returns the parent profile.
|
||||
*
|
||||
* @return Profile The parent profile
|
||||
* @return self
|
||||
*/
|
||||
public function getParent()
|
||||
{
|
||||
@@ -156,7 +152,7 @@ class Profile
|
||||
/**
|
||||
* Returns the time.
|
||||
*
|
||||
* @return string The time
|
||||
* @return int The time
|
||||
*/
|
||||
public function getTime()
|
||||
{
|
||||
@@ -167,6 +163,9 @@ class Profile
|
||||
return $this->time;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $time The time
|
||||
*/
|
||||
public function setTime($time)
|
||||
{
|
||||
$this->time = $time;
|
||||
@@ -191,7 +190,7 @@ class Profile
|
||||
/**
|
||||
* Finds children profilers.
|
||||
*
|
||||
* @return Profile[] An array of Profile
|
||||
* @return self[]
|
||||
*/
|
||||
public function getChildren()
|
||||
{
|
||||
@@ -201,7 +200,7 @@ class Profile
|
||||
/**
|
||||
* Sets children profiler.
|
||||
*
|
||||
* @param Profile[] $children An array of Profile
|
||||
* @param Profile[] $children
|
||||
*/
|
||||
public function setChildren(array $children)
|
||||
{
|
||||
@@ -213,8 +212,6 @@ class Profile
|
||||
|
||||
/**
|
||||
* Adds the child token.
|
||||
*
|
||||
* @param Profile $child The child Profile
|
||||
*/
|
||||
public function addChild(Profile $child)
|
||||
{
|
||||
@@ -265,8 +262,6 @@ class Profile
|
||||
|
||||
/**
|
||||
* Adds a Collector.
|
||||
*
|
||||
* @param DataCollectorInterface $collector A DataCollectorInterface instance
|
||||
*/
|
||||
public function addCollector(DataCollectorInterface $collector)
|
||||
{
|
||||
@@ -287,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');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user