111
This commit is contained in:
@@ -65,28 +65,28 @@ trait Message
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
#[Pure] public function getAccessControlAllowOrigin(): string
|
#[Pure] public function getAccessControlAllowOrigin(): ?string
|
||||||
{
|
{
|
||||||
return $this->getHeaderLine('Access-Control-Allow-Origin');
|
return $this->getHeaderLine('Access-Control-Allow-Origin');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
#[Pure] public function getAccessControlRequestHeaders(): string
|
#[Pure] public function getAccessControlRequestHeaders(): ?string
|
||||||
{
|
{
|
||||||
return $this->getHeaderLine('Access-Control-Request-Headers');
|
return $this->getHeaderLine('Access-Control-Request-Headers');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
#[Pure] public function getAccessControlRequestMethod(): string
|
#[Pure] public function getAccessControlRequestMethod(): ?string
|
||||||
{
|
{
|
||||||
return $this->getHeaderLine('Access-Control-Request-Method');
|
return $this->getHeaderLine('Access-Control-Request-Method');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user