summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Profiler/Profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Profiler/Profile.php')
-rw-r--r--vendor/symfony/http-kernel/Profiler/Profile.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/vendor/symfony/http-kernel/Profiler/Profile.php b/vendor/symfony/http-kernel/Profiler/Profile.php
index f896c00e52..01cdc89442 100644
--- a/vendor/symfony/http-kernel/Profiler/Profile.php
+++ b/vendor/symfony/http-kernel/Profiler/Profile.php
@@ -99,7 +99,7 @@ class Profile
/**
* Returns the IP.
*
- * @return string The IP
+ * @return string|null The IP
*/
public function getIp()
{
@@ -119,7 +119,7 @@ class Profile
/**
* Returns the request method.
*
- * @return string The request method
+ * @return string|null The request method
*/
public function getMethod()
{
@@ -134,13 +134,16 @@ class Profile
/**
* Returns the URL.
*
- * @return string The URL
+ * @return string|null The URL
*/
public function getUrl()
{
return $this->url;
}
+ /**
+ * @param string $url
+ */
public function setUrl($url)
{
$this->url = $url;
@@ -177,7 +180,7 @@ class Profile
}
/**
- * @return int
+ * @return int|null
*/
public function getStatusCode()
{