This commit is contained in:
2021-09-09 16:50:52 +08:00
parent d5b65f0d89
commit 7e2431cb6d
2 changed files with 28 additions and 26 deletions
+9 -9
View File
@@ -252,31 +252,31 @@ class Response implements ResponseInterface
/**
* @param string $data
* @param string $value
* @return ResponseInterface
*/
public function withAccessControlAllowOrigin(string $data): ResponseInterface
public function withAccessControlAllowOrigin(string $value): ResponseInterface
{
return $this->__call__()->{__METHOD__}($data);
return $this->__call__()->{__METHOD__}($value);
}
/**
* @param string $data
* @param string $value
* @return ResponseInterface
*/
public function withAccessControlRequestMethod(string $data): ResponseInterface
public function withAccessControlRequestMethod(string $value): ResponseInterface
{
return $this->__call__()->{__METHOD__}($data);
return $this->__call__()->{__METHOD__}($value);
}
/**
* @param string $data
* @param string $value
* @return ResponseInterface
*/
public function withAccessControlAllowHeaders(string $data): ResponseInterface
public function withAccessControlAllowHeaders(string $value): ResponseInterface
{
return $this->__call__()->{__METHOD__}($data);
return $this->__call__()->{__METHOD__}($value);
}
}